bareos2015: bareos-14.2 887c098d

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-14.2 2014-08-01 00:50 bareos-14.2 d4ee3756 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