changed the size of a char array in the userdata_struct from 1 to 16
authorAndrew Tridgell <tridge@samba.org>
Sun, 30 Aug 1998 04:30:57 +0000 (04:30 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 30 Aug 1998 04:30:57 +0000 (04:30 +0000)
commitd3dda65d5177154e2128f50ca3dd34e8e13b6b08
treeb1e3be7b9b38868d37fa7500b04f5ad1f9df0e1e
parentc5e5c25c854e54f59291057ba47c4701b5910ebe
changed the size of a char array in the userdata_struct from 1 to 16
to account for padding/alignment issues. Eventually I'd like to find a
way to get rid of this construct altogether as it is a bit error
prone and hard to debug.

also added a new macro:

ZERO_STRUCTP() that takes a pointer to a structure and zeros the
structure. Used in nmbd to zero allocated structures before freeing
them to try to catch bugs a bit faster.
source/include/nameserv.h
source/include/proto.h
source/include/smb.h