diff options
author | Dustin Sallings <dustin@spy.net> | 2012-01-27 23:32:20 -0800 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2012-01-27 23:53:33 -0800 |
commit | b0a858ce63817f1360428674630307c4568b614c (patch) | |
tree | d232ef41eba0c96c8d35790b7cf62494e903f52c /sasl_defs.h | |
parent | 39d59a902135188359027762e804a9560222e52b (diff) | |
download | memcached-b0a858ce63817f1360428674630307c4568b614c.tar.gz |
Specify hostname in sasl_server_new.
saslpasswd2 does something a little magical when initializing the
structure that's different from what happens if you just pass NULL.
The magic is too great for the tests as is, so this code does the same
thing saslpasswd2 does to determine the fqdn.
Diffstat (limited to 'sasl_defs.h')
-rw-r--r-- | sasl_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sasl_defs.h b/sasl_defs.h index 65f8d80..f36c694 100644 --- a/sasl_defs.h +++ b/sasl_defs.h @@ -9,6 +9,8 @@ #include <sasl/sasl.h> void init_sasl(void); +extern char my_sasl_hostname[1025]; + #else /* End of SASL support */ typedef void* sasl_conn_t; |