svn commit: samba r14087 - in branches/SAMBA_3_0/source/utils: .
Jeremy Allison
jra at samba.org
Thu Mar 9 19:02:39 GMT 2006
On Thu, Mar 09, 2006 at 11:58:35AM -0700, Jim McDonough wrote:
> jra at samba.org wrote:
> >+ /* Bail out if domain didn't get set. */
> >+ if (!domain) {
> >+ DEBUG(0, ("Could not get domain
> name.\n"));
> >+ goto done;
> >+ }
> Don't we need to check !(*domain) as well?
Nope, don't think so. If domain != NULL then we
know it points somewhere valid, even if it's just
to a zero (end of string) char.
Jeremy.
More information about the samba-technical
mailing list