Fixed compile error with gcc-4.4

This commit is contained in:
Tatsuhiro Tsujikawa 2012-01-31 21:32:46 +09:00
parent 1139502675
commit b87eb8987e

View File

@ -86,7 +86,7 @@ typedef enum {
SPDYLAY_GOAWAY_RECV = 0x2
} spdylay_goaway_flag;
typedef struct spdylay_session {
struct spdylay_session {
uint8_t server;
int32_t next_stream_id;
int32_t last_recv_stream_id;
@ -116,7 +116,7 @@ typedef struct spdylay_session {
spdylay_session_callbacks callbacks;
void *user_data;
} spdylay_session;
};
/* TODO stream timeout etc */