Michael Fladischer <mich...@fladi.at> writes:

> According to [0] it should be:

> if (rv == MEMCACHED_ERRNO) {
>     // System error
>     string error = string("Memcache::deleteMemcache() SYSTEM ERROR: ") + 
> string(memcached_last_error_message(memc));
>     log.error(error);
>     throw IOException(error);
> }

Does that include the results of strerror()?  The impression that I got
from the docs is that memcached_strerror() didn't, and I was assuming this
would be the same thing.

If memcached_strerror() includes the results of strerror() in the case of
MEMCACHED_ERRNO, it would probably be easiest to just use it.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to