Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remote debug ubuntu

  • Loading branch information...
commit e4e7626842b6bc7fd46b6222c819133cb4381231 1 parent dbc4ada
@BrianAker BrianAker authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  libmemcached/io.c
View
3  libmemcached/io.c
@@ -408,7 +408,6 @@ static ssize_t _io_write(memcached_server_write_instance_st ptr,
sent_length= io_flush(ptr, &rc);
if (sent_length == -1)
{
- fprintf(stderr, "%s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout);
return -1;
}
@@ -658,7 +657,7 @@ static ssize_t io_flush(memcached_server_write_instance_st ptr,
default:
memcached_quit_server(ptr, true);
*error= MEMCACHED_ERRNO;
- fprintf(stderr, "%s:%d (%s)\n", __FILE__, __LINE__,__func__);fflush(stdout);
+ fprintf(stderr, "%s:%d (%s)(%s)\n", __FILE__, __LINE__,__func__, strerror(errno));fflush(stdout);
return -1;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.