]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r1971: move counter.
authorGünther Deschner <gd@samba.org>
Fri, 20 Aug 2004 22:10:53 +0000 (22:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:26 +0000 (10:52 -0500)
Guenther

source/nsswitch/pam_winbind.c

index 119a45cbe8ebf2dcdd6312cb57c61e2ef25583ee..de0738239c6cd71539016a995d3cfb7fdfba4f3c 100644 (file)
@@ -451,6 +451,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
      const char *password;
      const char *member = NULL;
      int retval = PAM_AUTH_ERR;
+     int i;
     
      /* parse arguments */
      int ctrl = _pam_parse(argc, argv);
@@ -485,7 +486,6 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags,
      }
 
      /* Retrieve membership-string here */
-     int i;
      for ( i=0; i<argc; i++ ) {
 
         if (!strncmp(argv[i], "required_membership", strlen("required_membership"))) {