svn commit: samba r19667 - in branches/SAMBA_3_0/source/nsswitch: .
vlendec at samba.org
vlendec at samba.org
Sat Nov 11 17:04:09 GMT 2006
Author: vlendec
Date: 2006-11-11 17:04:08 +0000 (Sat, 11 Nov 2006)
New Revision: 19667
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19667
Log:
Fix incorrect null check
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd_wins.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_wins.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_wins.c 2006-11-11 17:02:08 UTC (rev 19666)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_wins.c 2006-11-11 17:04:08 UTC (rev 19667)
@@ -95,7 +95,7 @@
/* always try with wins first */
if (resolve_wins(name,0x20,&ret,count)) {
- if ( count == 0 )
+ if ( *count == 0 )
return NULL;
if ( (return_ip = SMB_MALLOC_ARRAY(struct in_addr, *count)) == NULL ) {
free( ret );
More information about the samba-cvs
mailing list