diff options
author | Jeremy Allison <jra@samba.org> | 1998-01-07 06:21:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-01-07 06:21:56 +0000 |
commit | 28aff043c4a3693a0c20e87c7ce11eb4bf285b78 (patch) | |
tree | caa3bf7cd5cf65610d3f8f8fe5c233cf106e97c8 /source/nmbd/nmbd_nameregister.c | |
parent | 800510a852db046bf88a88c966c80d71b474f4ef (diff) | |
download | samba-28aff043c4a3693a0c20e87c7ce11eb4bf285b78.tar.gz samba-28aff043c4a3693a0c20e87c7ce11eb4bf285b78.tar.xz samba-28aff043c4a3693a0c20e87c7ce11eb4bf285b78.zip |
includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.
interface.c: Added netmask fix.
nmbd_nameregister.c: Fixed unitialised variable warnings.
nmbd_winsproxy.c: Fixed unitialised variable warnings.
nmbd_winsserver.c: Fixed DEC warnings.
print_svid.c: Fixed DEC warnings.
printing.c: Added LPRng fixes.
Jeremy.
Diffstat (limited to 'source/nmbd/nmbd_nameregister.c')
-rw-r--r-- | source/nmbd/nmbd_nameregister.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/nmbd/nmbd_nameregister.c b/source/nmbd/nmbd_nameregister.c index cdaef1a767c..3223159ace6 100644 --- a/source/nmbd/nmbd_nameregister.c +++ b/source/nmbd/nmbd_nameregister.c @@ -47,8 +47,8 @@ static void register_name_response(struct subnet_record *subrec, BOOL success = True; struct nmb_name *question_name = &rrec->packet->packet.nmb.question.question_name; struct nmb_name *answer_name = &nmb->answers->rr_name; - int ttl; - uint16 nb_flags; + int ttl = 0; + uint16 nb_flags = 0; struct in_addr registered_ip; /* Sanity check. Ensure that the answer name in the incoming packet is the @@ -169,8 +169,8 @@ static void register_name_timeout_response(struct subnet_record *subrec, BOOL bcast = sent_nmb->header.nm_flags.bcast; BOOL success = False; struct nmb_name *question_name = &sent_nmb->question.question_name; - uint16 nb_flags; - int ttl; + uint16 nb_flags = 0; + int ttl = 0; struct in_addr registered_ip; if(bcast) |