mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-05 00:55:07 -05:00
Made spdylay_strerror(0) return "Success"
This commit is contained in:
parent
4dd9c32c25
commit
e13152c0a5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user