Skip to content

Commit 407ab7f

Browse files
committed
- lophttpd: small cleanups
1 parent c5e160b commit 407ab7f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

client.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#define __client_h__
3737

3838
#include <string>
39+
#include <cstring>
3940
#include <time.h>
4041
#include <stdint.h>
4142
#include <sys/types.h>

main.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ void help(const char *p)
8181
<<"\t\t -n : number of CPU cores to use, default 1 ('0' for all)"<<endl
8282
<<"\t\t -p : port, default "<<httpd_config::port<<endl<<endl
8383
<<"\trarely used options:\n\n"
84+
#ifdef USE_SSL
8485
<<"\t\t -K : use this keyfile (enables SSL)\n"
8586
<<"\t\t -C : use this certfile (enables SSL)\n"
87+
#endif
8688
<<"\t\t -6 : use IPv6, default is IPv4\n"
8789
<<"\t\t -l : logfile, default "<<httpd_config::logfile<<endl
8890
<<"\t\t -L : logprovider, default '"<<httpd_config::log_provider<<"'"<<endl

0 commit comments

Comments
 (0)