Changeset 988 for vendor/current/examples/libsmbclient/testctx.c
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/examples/libsmbclient/testctx.c
r740 r988 2 2 #include <stdlib.h> 3 3 #include <stdio.h> 4 #include <string.h> 4 5 5 void create_and_destroy_context (void)6 static void create_and_destroy_context (void) 6 7 { 7 8 int i; … … 10 11 /* Both should do the same thing */ 11 12 smbc_setOptionDebugToStderr(ctx, 1); 12 smbc_option_set(ctx, "debug_to_stderr", 1);13 smbc_option_set(ctx, strdup("debug_to_stderr"), 1); 13 14 smbc_setDebug(ctx, 1); 14 15 i = smbc_getDebug(ctx);
Note:
See TracChangeset
for help on using the changeset viewer.