diff options
author | Richard Sharpe <sharpe@samba.org> | 2003-10-24 20:24:05 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2003-10-24 20:24:05 +0000 |
commit | 966a448f93a8326aeed25bfc0cd9b98a36835dea (patch) | |
tree | 42698c6639442f1780e833e84a191e876350279f /examples/libsmbclient/tree.c | |
parent | b0ead3a03da6af278731881260634ac9246d5e3b (diff) | |
download | samba-966a448f93a8326aeed25bfc0cd9b98a36835dea.tar.gz samba-966a448f93a8326aeed25bfc0cd9b98a36835dea.tar.bz2 samba-966a448f93a8326aeed25bfc0cd9b98a36835dea.zip |
Apply these patches as well ... not sure if they all build. They don't on
FreeBSD 4.3. They might on Linux.
(This used to be commit 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)
Diffstat (limited to 'examples/libsmbclient/tree.c')
-rw-r--r-- | examples/libsmbclient/tree.c | 4 |
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); |