diff options
Diffstat (limited to 'src/lib/daemon_destroy.c')
-rw-r--r-- | src/lib/daemon_destroy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/daemon_destroy.c b/src/lib/daemon_destroy.c index 1a8f7094..36f23d17 100644 --- a/src/lib/daemon_destroy.c +++ b/src/lib/daemon_destroy.c | |||
@@ -93,8 +93,6 @@ MHD_daemon_destroy (struct MHD_Daemon *daemon) | |||
93 | { | 93 | { |
94 | MHD_socket fd; | 94 | MHD_socket fd; |
95 | 95 | ||
96 | if (NULL == daemon) | ||
97 | return; | ||
98 | daemon->shutdown = true; | 96 | daemon->shutdown = true; |
99 | if (daemon->was_quiesced) | 97 | if (daemon->was_quiesced) |
100 | fd = MHD_INVALID_SOCKET; /* Do not use FD if daemon was quiesced */ | 98 | fd = MHD_INVALID_SOCKET; /* Do not use FD if daemon was quiesced */ |