summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-27 18:31:27 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-27 18:31:27 +0100
commitbaa035aa68b7b72fe301c933227aa2530bbec66d (patch)
treed42e0636d34289a4c00645f5cc115e26e0bb91e0 /tests
parentf83210c88e7376e12b5cf0e86a073c59e4185efb (diff)
downloadwolfbones-baa035aa68b7b72fe301c933227aa2530bbec66d.tar.gz
wolfbones-baa035aa68b7b72fe301c933227aa2530bbec66d.tar.bz2
added service termination on console control events
Diffstat (limited to 'tests')
-rw-r--r--tests/service/testservice.c2
1 files changed, 1 insertions, 1 deletions
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] );
}