Apply the changes that Derrell Lipman supplied ...
authorRichard Sharpe <sharpe@samba.org>
Wed, 5 Nov 2003 16:58:25 +0000 (16:58 +0000)
committerRichard Sharpe <sharpe@samba.org>
Wed, 5 Nov 2003 16:58:25 +0000 (16:58 +0000)
(This used to be commit 600e056a33bd658a8e0eb41af9c83d32b9e2e082)

examples/libsmbclient/tree.c

index 8dc9cc408b38fe120dcf2ac1a4cb602b90ba59f2..f50b3670cff23a8d694777eea13ec391238a7736 100644 (file)
@@ -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);