11 May
2007
11 May
'07
4:01 a.m.
"Tim Schwartz" <tim(a)sanityinternet.com> writes:
+ if(!strcasecmp(argv[1], "start")) + { + if(argc < 3) + { + printf("Specify service name to start.\n"); + return TRUE; + } + + if(!net_service(NET_START, argv[2])) + { + return TRUE; + } + return FALSE; + } + + return FALSE;
The previous version was better here, TRUE and FALSE are not appropriate return values for main(), it's supposed to return an error code not a boolean. -- Alexandre Julliard julliard(a)winehq.org
6880
Age (days ago)
6880
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard