summaryrefslogtreecommitdiff
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
commit018a3cc5080efd3c26ad8c04036ed367969f700d (patch)
tree01fcfc057f87996823de6ef75ee7962f6d8a91ee /examples
parent3d6f7800106a6f5356c19f413f50d43de74a4b8f (diff)
downloadsamba-018a3cc5080efd3c26ad8c04036ed367969f700d.tar.gz
samba-018a3cc5080efd3c26ad8c04036ed367969f700d.tar.bz2
samba-018a3cc5080efd3c26ad8c04036ed367969f700d.zip
Apply the changes that Derrell Lipman supplied ...
(This used to be commit 600e056a33bd658a8e0eb41af9c83d32b9e2e082)
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 8dc9cc408b..f50b3670cf 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);