bareos: dev a041e449

Author Committer Branch Timestamp Parent
franku franku dev 2018-08-10 14:20 dev f74a3156 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