SUNWspro doesn't like declaring a variable inside an "if" statement. r=alecf

git-svn-id: svn://10.0.0.236/trunk@61064 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tor%cs.brown.edu 2000-02-16 05:16:29 +00:00
parent a9eaf9f288
commit 42fa80ece2

View File

@ -747,7 +747,8 @@ int main(int argc, char* argv[])
}
#ifdef DETECT_WEBSHELL_LEAKS
if ( unsigned long count = NS_TotalWebShellsInExistence() ) {
unsigned long count;
if ( count = NS_TotalWebShellsInExistence() ) {
printf("XXX WARNING: Number of webshells being leaked: %d \n", count);
}
#endif