do not split conditional statement #184

closes #184
This commit is contained in:
Thomas Bernard 2016-12-28 11:58:21 +01:00
parent 9e73075752
commit 2c77721888
1 changed files with 4 additions and 2 deletions

View File

@ -1855,9 +1855,11 @@ main(int argc, char * * argv)
if(
#ifdef ENABLE_NATPMP
!GETFLAG(ENABLENATPMPMASK) &&
!GETFLAG(ENABLENATPMPMASK) && !GETFLAG(ENABLEUPNPMASK)
#else
!GETFLAG(ENABLEUPNPMASK)
#endif
!GETFLAG(ENABLEUPNPMASK) ) {
) {
syslog(LOG_ERR, "Why did you run me anyway?");
return 0;
}