diff options
Diffstat (limited to 'source/libsmb/unexpected.c')
-rw-r--r-- | source/libsmb/unexpected.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/libsmb/unexpected.c b/source/libsmb/unexpected.c index 4fc39144810..2d17e3e9a41 100644 --- a/source/libsmb/unexpected.c +++ b/source/libsmb/unexpected.c @@ -1,5 +1,6 @@ /* - Unix SMB/CIFS implementation. + Unix SMB/Netbios implementation. + Version 3.0 handle unexpected packets Copyright (C) Andrew Tridgell 2000 @@ -146,7 +147,7 @@ check for a particular packet in the unexpected packet queue struct packet_struct *receive_unexpected(enum packet_type packet_type, int id, char *mailslot_name) { - TDB_CONTEXT *tdb2; + TDB_CONTEXT *tdb2 = NULL; tdb2 = tdb_open_log(lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0); if (!tdb2) return NULL; |