projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Test case
[m6w6/libmemcached]
/
clients
/
utilities.c
diff --git
a/clients/utilities.c
b/clients/utilities.c
index ef1e60f37c131b157feccd1ac61f4fd5fa94d0ac..e21df20dca1782c554e54a240eb36c1573e27bd7 100644
(file)
--- a/
clients/utilities.c
+++ b/
clients/utilities.c
@@
-124,10
+124,10
@@
void process_hash_option(memcached_st *memc, char *opt_hash)
}
}
}
}
+#ifdef LIBMEMCACHED_WITH_SASL_SUPPORT
static char *username;
static char *passwd;
static char *username;
static char *passwd;
-#ifdef LIBMEMCACHED_WITH_SASL_SUPPORT
static int get_username(void *context, int id, const char **result,
unsigned int *len)
{
static int get_username(void *context, int id, const char **result,
unsigned int *len)
{
@@
-201,7
+201,7
@@
bool initialize_sasl(memcached_st *memc, char *user, char *password)
#else
(void)memc;
(void)user;
#else
(void)memc;
(void)user;
- (void)passwd;
+ (void)passw
or
d;
#endif
return true;
#endif
return true;
@@
-209,7
+209,7
@@
bool initialize_sasl(memcached_st *memc, char *user, char *password)
void shutdown_sasl(void)
{
void shutdown_sasl(void)
{
-#if LIBMEMCACHED_WITH_SASL_SUPPORT
+#if
def
LIBMEMCACHED_WITH_SASL_SUPPORT
if (username != NULL || passwd != NULL)
sasl_done();
#endif
if (username != NULL || passwd != NULL)
sasl_done();
#endif