aboutsummaryrefslogtreecommitdiff
path: root/src/microspdy/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microspdy/session.c')
-rw-r--r--src/microspdy/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microspdy/session.c b/src/microspdy/session.c
index 4a6d8525..856bed85 100644
--- a/src/microspdy/session.c
+++ b/src/microspdy/session.c
@@ -1366,7 +1366,7 @@ SPDYF_session_accept(struct SPDY_Daemon *daemon)
1366 free_and_fail: 1366 free_and_fail:
1367 /* something failed, so shutdown, close and free memory */ 1367 /* something failed, so shutdown, close and free memory */
1368 shutdown (new_socket_fd, SHUT_RDWR); 1368 shutdown (new_socket_fd, SHUT_RDWR);
1369 close (new_socket_fd); 1369 (void)close (new_socket_fd);
1370 1370
1371 if(NULL != session) 1371 if(NULL != session)
1372 { 1372 {
@@ -1467,7 +1467,7 @@ SPDYF_session_destroy(struct SPDY_Session *session)
1467 struct SPDYF_Stream *stream; 1467 struct SPDYF_Stream *stream;
1468 struct SPDYF_Response_Queue *response_queue; 1468 struct SPDYF_Response_Queue *response_queue;
1469 1469
1470 close (session->socket_fd); 1470 (void)close (session->socket_fd);
1471 SPDYF_zlib_deflate_end(&session->zlib_send_stream); 1471 SPDYF_zlib_deflate_end(&session->zlib_send_stream);
1472 SPDYF_zlib_inflate_end(&session->zlib_recv_stream); 1472 SPDYF_zlib_inflate_end(&session->zlib_recv_stream);
1473 1473