summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-11-05 16:58:25 +0000
committerRichard Sharpe <sharpe@samba.org>2003-11-05 16:58:25 +0000
commit600e056a33bd658a8e0eb41af9c83d32b9e2e082 (patch)
tree20aa17a696124f5a4ba207e5c65a487a5fd3c931 /examples
parentd1cf39e2ecee7e76953a5eee386f723a46bf9b14 (diff)
downloadsamba-600e056a33bd658a8e0eb41af9c83d32b9e2e082.tar.gz
samba-600e056a33bd658a8e0eb41af9c83d32b9e2e082.tar.xz
samba-600e056a33bd658a8e0eb41af9c83d32b9e2e082.zip
Apply the changes that Derrell Lipman supplied ...
Diffstat (limited to 'examples')
-rw-r--r--examples/libsmbclient/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/tree.c b/examples/libsmbclient/tree.c
index 8dc9cc408b3..f50b3670cff 100644
--- a/examples/libsmbclient/tree.c
+++ b/examples/libsmbclient/tree.c
@@ -706,9 +706,9 @@ int main( int argc,
/* Now, build the top level display ... */
- if ((dh = smbc_opendir("smb:///")) < 0) {
+ if ((dh = smbc_opendir("smb://")) < 0) {
- fprintf(stderr, "Could not list default workgroup: smb:///: %s\n",
+ fprintf(stderr, "Could not list workgroups: smb://: %s\n",
strerror(errno));
exit(1);