Author: jra
Date: 2006-02-22 00:34:35 +0000 (Wed, 22 Feb 2006)
New Revision: 13607

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13607

Log:
Fix compile - don't ref auto variable in a structure initialization.
Fix from Richard Bollinger <[EMAIL PROTECTED]>.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/utils/pdbedit.c


Changeset:
Modified: branches/SAMBA_3_0/source/utils/pdbedit.c
===================================================================
--- branches/SAMBA_3_0/source/utils/pdbedit.c   2006-02-22 00:26:56 UTC (rev 
13606)
+++ branches/SAMBA_3_0/source/utils/pdbedit.c   2006-02-22 00:34:35 UTC (rev 
13607)
@@ -655,7 +655,7 @@
        static char *pwd_can_change_time = NULL;
        static char *pwd_must_change_time = NULL;
        static char *pwd_time_format = NULL;
-       BOOL pw_from_stdin = False;
+       static BOOL pw_from_stdin = False;
 
        struct pdb_methods *bdef = NULL;
        poptContext pc;

Reply via email to