r1305: Grrr, fix my build breakage...
authorAndrew Bartlett <abartlet@samba.org>
Wed, 30 Jun 2004 02:05:26 +0000 (02:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:49 +0000 (12:56 -0500)
Declare variables at the start of a block.

Andrew Bartlett
(This used to be commit 9f5394703e81db9ed93648e06e48b0364a04a696)

source4/utils/ntlm_auth.c

index 1ae9075fbab55689a6dcb49aeac2ce6279b5c555..1685f8387fefc1426085f33ff781636a20477f92 100644 (file)
@@ -702,10 +702,10 @@ static void manage_squid_request(enum stdio_helper_mode helper_mode, stdio_helpe
 }
 
 static void squid_stream(enum stdio_helper_mode stdio_mode, stdio_helper_function fn) {
+       void *private = NULL;
        /* initialize FDescs */
        x_setbuf(x_stdout, NULL);
        x_setbuf(x_stderr, NULL);
-       void *private = NULL;
        while(1) {
                manage_squid_request(stdio_mode, fn, &private);
        }