summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-03-31 21:17:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:25 -0500
commiteefc6f0ab4eb9aea426678228b2815c472f79b4a (patch)
tree717a56e66661816ec6a8370f035cbf4f20dd8dd3 /examples
parent523ba5ed3221bb81eea0428e4d6900e35bd24f03 (diff)
downloadsamba-eefc6f0ab4eb9aea426678228b2815c472f79b4a.tar.gz
samba-eefc6f0ab4eb9aea426678228b2815c472f79b4a.tar.bz2
samba-eefc6f0ab4eb9aea426678228b2815c472f79b4a.zip
r6157: 'editorial changes' to example code
(This used to be commit fa0294ddbf7c93c24fca670b7ed52821a0507174)
Diffstat (limited to 'examples')
-rw-r--r--examples/libsmbclient/teststat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/libsmbclient/teststat.c b/examples/libsmbclient/teststat.c
index d67f626d78..29517efb6f 100644
--- a/examples/libsmbclient/teststat.c
+++ b/examples/libsmbclient/teststat.c
@@ -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)
{