summaryrefslogtreecommitdiffstats
path: root/source/libsmb/libsmb_dir.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-01-16 20:30:11 -0500
committerKarolin Seeger <kseeger@samba.org>2009-01-20 14:16:48 +0100
commit3a964d47446e08208435757829131efa9a4ccac3 (patch)
tree4be27af37d05201ccabafc8b42f147303d19e380 /source/libsmb/libsmb_dir.c
parent5381e478416e1c7e08b938a06b0491bdda169c39 (diff)
downloadsamba-3a964d47446e08208435757829131efa9a4ccac3.tar.gz
samba-3a964d47446e08208435757829131efa9a4ccac3.tar.xz
samba-3a964d47446e08208435757829131efa9a4ccac3.zip
[Bug 6022] smbc_urlencode and smbc_urldecode were not exported
- Since the revamp of libsmbclient, there has still been an external declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet those functions were renamed and made private. The two choices were to remove the function names from libsmbclient.h or to make them public again. The reported requested that they be public. This commit makes it so. Derrell (cherry picked from commit bf7eb0164b0c69d5d0f3019f3aa524846f6a4394)
Diffstat (limited to 'source/libsmb/libsmb_dir.c')
-rw-r--r--source/libsmb/libsmb_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libsmb/libsmb_dir.c b/source/libsmb/libsmb_dir.c
index 3b4bdfccef5..761b8055091 100644
--- a/source/libsmb/libsmb_dir.c
+++ b/source/libsmb/libsmb_dir.c
@@ -895,7 +895,7 @@ smbc_readdir_internal(SMBCCTX * context,
/* url-encode the name. get back remaining buffer space */
max_namebuf_len =
- SMBC_urlencode(dest->name, src->name, max_namebuf_len);
+ smbc_urlencode(dest->name, src->name, max_namebuf_len);
/* We now know the name length */
dest->namelen = strlen(dest->name);