Fixed a bug

This commit is contained in:
Thulinma 2011-10-18 03:44:41 +02:00
parent b2ee501bbe
commit bfda88d350
8 changed files with 367 additions and 88 deletions

View file

@ -159,10 +159,10 @@ int main(int argc, char ** argv){
if (server_socket.connected()){
//if setup success, enter daemon mode if requested
if (daemon_mode){
daemon(1, 0);
#if DEBUG >= 3
fprintf(stderr, "Going into background mode...\n");
#endif
daemon(1, 0);
}
}else{
#if DEBUG >= 1