bareos: dev c108b577

Author Committer Branch Timestamp Parent
franku franku dev 2018-08-10 14:20 dev 8e95f262 Pending
Changeset bsock: improved constructor and implemented copy constructor

- BareosSocket: cleared all variables
- BareosSocket: implemented a copy constructor that duplicates file descriptors instead of copy them
- BareosSocketTCP: at destroy now close file descriptors
- BareosSocketTCP: clone uses copy constructor instead of memcpy
- added test for standard constructor
mod - core/src/lib/bsock.cc Diff File
mod - core/src/lib/bsock.h Diff File
mod - core/src/lib/bsock_tcp.cc Diff File
mod - core/src/lib/unittests/bsock_test.cc Diff File