bareos: master 94d4e0ef

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen master 2014-07-31 22:50 master b42206ed Pending
Changeset Change the socket constructors.

As all BSOCK_XX classes are a derived class of BSOCK it makes more sense
to initialize the shared members in the BSOCK constructor. As on
creation of a devived class the base class constructor gets called
anyway this will work nicely. We also don't have to intialize everything
to zero as the BSOCK class is a derived class from the SMARTALLOC class
and as such the constructor of that class will initialize the memory to
zero.
mod - src/lib/bsock.c Diff File
mod - src/lib/bsock.h Diff File
mod - src/lib/bsock_sctp.c Diff File
mod - src/lib/bsock_sctp.h Diff File
mod - src/lib/bsock_tcp.c Diff File
mod - src/lib/bsock_tcp.h Diff File
mod - src/lib/bsock_udt.c Diff File
mod - src/lib/bsock_udt.h Diff File