/*
+--------------------------------------------------------------------+
- | libmemcached - C/C++ Client Library for memcached |
+ | libmemcached-awesome - C/C++ Client Library for memcached |
+--------------------------------------------------------------------+
| Redistribution and use in source and binary forms, with or without |
| modification, are permitted under the terms of the BSD license. |
.apply = [](const client_options &opt, const extended_option &ext, memcached_st *memc) {
if (auto username = ext.arg) {
#if !LIBMEMCACHED_WITH_SASL_SUPPORT
+ (void) memc;
if (!opt.isset("quiet")) {
std::cerr
- << "SASL username was supplied, but binary was not built with SASL support.\n";
+ << "SASL username '" << username << "' was supplied, but binary was not built with SASL support.\n";
}
return false;
#else