Commit e13152c0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Made spdylay_strerror(0) return "Success"

parent 4dd9c32c
......@@ -75,6 +75,8 @@ int spdylay_reserve_buffer(uint8_t **buf_ptr, size_t *buflen_ptr,
const char* spdylay_strerror(int error_code)
{
switch(error_code) {
case 0:
return "Success";
case SPDYLAY_ERR_INVALID_ARGUMENT:
return "Invalid argument";
case SPDYLAY_ERR_ZLIB:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment