put usesplice within #ifdef WITHSPLICE

This commit is contained in:
z3APA3A 2016-12-19 13:01:34 +03:00
parent 1ab549036c
commit 34876b7616

View File

@ -310,8 +310,10 @@ int MODULEMAINFUNC (int argc, char** argv){
case 's':
if(isudp)
srv.singlepacket = 1 + atoi(argv[i]+2);
#ifdef WITHSPLICE
else
srv.usesplice = 1 + atoi(argv[i]+2);
#endif
break;
default:
error = 1;