aboutsummaryrefslogtreecommitdiff
path: root/src/microspdy/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microspdy/daemon.c')
-rw-r--r--src/microspdy/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microspdy/daemon.c b/src/microspdy/daemon.c
index 0556c253..a8bea83b 100644
--- a/src/microspdy/daemon.c
+++ b/src/microspdy/daemon.c
@@ -351,7 +351,7 @@ SPDYF_start_daemon_va (uint16_t port,
351 //for GOTO 351 //for GOTO
352 free_and_fail: 352 free_and_fail:
353 if(daemon->socket_fd > 0) 353 if(daemon->socket_fd > 0)
354 close (daemon->socket_fd); 354 (void)close (daemon->socket_fd);
355 355
356 free(servaddr4); 356 free(servaddr4);
357#if HAVE_INET6 357#if HAVE_INET6
@@ -374,7 +374,7 @@ SPDYF_stop_daemon (struct SPDY_Daemon *daemon)
374 374
375 shutdown (daemon->socket_fd, SHUT_RDWR); 375 shutdown (daemon->socket_fd, SHUT_RDWR);
376 spdyf_close_all_sessions (daemon); 376 spdyf_close_all_sessions (daemon);
377 close (daemon->socket_fd); 377 (void)close (daemon->socket_fd);
378 378
379 if(!(SPDY_DAEMON_OPTION_SOCK_ADDR & daemon->options)) 379 if(!(SPDY_DAEMON_OPTION_SOCK_ADDR & daemon->options))
380 free(daemon->address); 380 free(daemon->address);