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': case 's':
if(isudp) if(isudp)
srv.singlepacket = 1 + atoi(argv[i]+2); srv.singlepacket = 1 + atoi(argv[i]+2);
#ifdef WITHSPLICE
else else
srv.usesplice = 1 + atoi(argv[i]+2); srv.usesplice = 1 + atoi(argv[i]+2);
#endif
break; break;
default: default:
error = 1; error = 1;