fix for IRIX compilers
authorHerb Lewis <herb@samba.org>
Tue, 11 Dec 2001 18:08:48 +0000 (18:08 +0000)
committerHerb Lewis <herb@samba.org>
Tue, 11 Dec 2001 18:08:48 +0000 (18:08 +0000)
(This used to be commit b110f57e49bcb4e3c648020850ee18d1888b9152)

source3/nsswitch/wbinfo.c

index 9e85ce304130869f799dc736131429e9ac5fb3d8..470fa024b9bd259b5a64c17fb1b33719f219b1e8 100644 (file)
@@ -479,8 +479,8 @@ int main(int argc, char **argv)
        int opt;
 
        poptContext pc;
-       char *string_arg;
-       int int_arg;
+       static char *string_arg;
+       static int int_arg;
        BOOL got_command = False;
 
        struct poptOption long_options[] = {