diff options
-rw-r--r-- | source3/libsmb/nmblib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c index a6816db5b9..4adc3da5fa 100644 --- a/source3/libsmb/nmblib.c +++ b/source3/libsmb/nmblib.c @@ -68,8 +68,9 @@ static void debug_nmb_res_rec(struct res_rec *res, const char *hdr) res->rr_class, res->ttl ) ); - if( res->rdlength == 0 || res->rdata == NULL ) + if (res->rdlength == 0) { return; + } for (i = 0; i < res->rdlength; i+= MAX_NETBIOSNAME_LEN) { DEBUGADD(4, (" %s %3x char ", hdr, i)); |