Commit 08d9bbf3 authored by Mike Hibler's avatar Mike Hibler
Browse files

Stick in a missing ifdef or two.

parent 4ddc74c2
...@@ -1377,7 +1377,9 @@ cleanup(void) ...@@ -1377,7 +1377,9 @@ cleanup(void)
(void) kill(pid, SIGTERM); (void) kill(pid, SIGTERM);
#endif #endif
(void) unlink(Pidname); (void) unlink(Pidname);
#ifdef USESOCKETS
(void) unlink(Aclname); (void) unlink(Aclname);
#endif
} }
char * char *
...@@ -2305,7 +2307,6 @@ handshake(void) ...@@ -2305,7 +2307,6 @@ handshake(void)
signal(SIGALRM, SIG_DFL); signal(SIGALRM, SIG_DFL);
return err; return err;
} }
#endif
#ifdef WITH_TELNET #ifdef WITH_TELNET
#include <libtelnet.h> #include <libtelnet.h>
...@@ -2457,3 +2458,4 @@ dumpcircbuf() ...@@ -2457,3 +2458,4 @@ dumpcircbuf()
circp = circbuf; circp = circbuf;
circcount = 0; circcount = 0;
} }
#endif /* USESOCKBUF */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment