r6157: 'editorial changes' to example code
authorDerrell Lipman <derrell@samba.org>
Thu, 31 Mar 2005 21:17:36 +0000 (21:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:25 +0000 (10:56 -0500)
(This used to be commit fa0294ddbf7c93c24fca670b7ed52821a0507174)

examples/libsmbclient/teststat.c

index d67f626d78df7c376eed7e191ecabdff36073751..29517efb6f635329640a760a9fc03773b1da0b38 100644 (file)
@@ -8,6 +8,7 @@
 
 int main(int argc, char * argv[]) 
 { 
+    int             debug = 0;
     char            buffer[16384]; 
     char            mtime[32];
     char            ctime[32];
@@ -39,7 +40,7 @@ int main(int argc, char * argv[])
         return 1;
     }
 
-    smbc_init(get_auth_data_fn, 0); 
+    smbc_init(get_auth_data_fn, debug); 
     
     if (smbc_stat(pSmbPath, &st) < 0)
     {