[cups.development] [cups.commit] [CUPS] r5850 - in branches/kerberos: . cups
Michael Sweet
mike at easysw.com
Mon Aug 21 12:24:06 PDT 2006
> ...
> Modified: branches/kerberos/cups/auth.c
> ===================================================================
> --- branches/kerberos/cups/auth.c 2006-08-21 01:27:12 UTC (rev 5849)
> +++ branches/kerberos/cups/auth.c 2006-08-21 01:44:37 UTC (rev 5850)
> @@ -160,7 +160,9 @@
> * Clear the current authentication string...
> */
>
> - http->authstring[0] = '\0';
> + http->_authstring[0] = '\0';
> + free(http->authstring);
> + http->authstring = NULL;
>
> /*
> * See if we can do local authentication...
Careful now, will http->authstring always be non-NULL? free(NULL) is
undefined on some systems...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups-devel
mailing list