summaryrefslogtreecommitdiff
path: root/examples/libsmbclient/testbrowse.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-03-02 16:21:48 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2008-03-02 16:21:48 -0500
commit8a05c0a8843c001bdb4ac31e9ea382dd89716b55 (patch)
treea082b0e806e2bac9043c55811d27e90126c170ec /examples/libsmbclient/testbrowse.c
parentbf950ea7586c558205a7315419d015263f53e4e4 (diff)
downloadsamba-8a05c0a8843c001bdb4ac31e9ea382dd89716b55.tar.gz
samba-8a05c0a8843c001bdb4ac31e9ea382dd89716b55.tar.bz2
samba-8a05c0a8843c001bdb4ac31e9ea382dd89716b55.zip
Remove use of deprecated function
(This used to be commit 93580bce833453ba512ee436d6dfdbdcd2c53777)
Diffstat (limited to 'examples/libsmbclient/testbrowse.c')
-rw-r--r--examples/libsmbclient/testbrowse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libsmbclient/testbrowse.c b/examples/libsmbclient/testbrowse.c
index 1b0b54f9f0..c4ca6667e0 100644
--- a/examples/libsmbclient/testbrowse.c
+++ b/examples/libsmbclient/testbrowse.c
@@ -120,7 +120,7 @@ main(int argc, char * argv[])
/* If we've been asked to log to stderr instead of stdout, ... */
if (debug_stderr) {
/* ... then set the option to do so */
- smbc_option_set(context, "debug_to_stderr", 1);
+ smbc_setOptionDebugToStderr(context, 1);
}
/* Initialize the context using the previously specified options */
@@ -196,7 +196,7 @@ get_auth_data_with_context_fn(SMBCCTX * context,
{
printf("Authenticating with context 0x%lx", context);
if (context != NULL) {
- char *user_data = smbc_option_get(context, "user_data");
+ char *user_data = smbc_getOptionUserData(context);
printf(" with user data %s", user_data);
}
printf("\n");