From baa035aa68b7b72fe301c933227aa2530bbec66d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 27 Mar 2009 18:31:27 +0100 Subject: added service termination on console control events --- tests/service/testservice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/service/testservice.c b/tests/service/testservice.c index 896df51..478dbc4 100644 --- a/tests/service/testservice.c +++ b/tests/service/testservice.c @@ -88,7 +88,7 @@ void __cdecl _tmain( int argc, TCHAR *argv[] ) { } else if( strcasecmp( argv[1], "/remove" ) == 0 ) { (void)wolf_service_remove( SERVICE_NAME ); } else if( strcasecmp( argv[1], "/foreground" ) == 0 ) { - wolf_service_start_console( SERVICE_NAME, &service_main, argc, argv ); + (void)wolf_service_start_console( SERVICE_NAME, &service_main, argc, argv ); } else { fprintf( stderr, "Illegal option '%s'\r\n", argv[1] ); } -- cgit v1.2.3-54-g00ecf