diff --git a/examples/spdylay_ssl.cc b/examples/spdylay_ssl.cc index aaffcbbb..d586bb43 100644 --- a/examples/spdylay_ssl.cc +++ b/examples/spdylay_ssl.cc @@ -433,7 +433,7 @@ const char* strstatus(uint32_t status_code) return "STREAM_ALREADY_CLOSED"; case SPDYLAY_INVALID_CREDENTIALS: return "INVALID_CREDENTIALS"; - case FRAME_TOO_LARGE: + case SPDYLAY_FRAME_TOO_LARGE: return "FRAME_TOO_LARGE"; default: return "Unknown status code"; diff --git a/lib/includes/spdylay/spdylay.h b/lib/includes/spdylay/spdylay.h index 19c18d40..1342144f 100644 --- a/lib/includes/spdylay/spdylay.h +++ b/lib/includes/spdylay/spdylay.h @@ -404,7 +404,7 @@ typedef enum { /** * FRAME_TOO_LARGE */ - FRAME_TOO_LARGE = 11 + SPDYLAY_FRAME_TOO_LARGE = 11 } spdylay_status_code; /**