X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=server%2Fstatserv.c;h=b38b80603e6717bf83e36e1b9ab6fb1f83de690d;hb=e8e3ed14b62160f636e5df1901055743b4100fb8;hp=d126b983eb3d9ff5de51b8ddbc5de3d29b844ea6;hpb=ec280185445fa342a6bf2f6a12ab3d29bbd1e54c;p=yaz-moved-to-github.git diff --git a/server/statserv.c b/server/statserv.c index d126b98..b38b806 100644 --- a/server/statserv.c +++ b/server/statserv.c @@ -6,7 +6,7 @@ * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.81 2002-05-07 11:01:59 adam Exp $ + * $Id: statserv.c,v 1.84 2002-09-06 19:52:57 adam Exp $ */ #include @@ -243,7 +243,7 @@ void statserv_closedown() } } -void event_loop_thread (IOCHAN iochan) +void __cdecl event_loop_thread (IOCHAN iochan) { event_loop (&iochan); } @@ -831,7 +831,7 @@ int check_options(int argc, char **argv) fprintf(stderr, "Usage: %s [ -a -v " " -l -u -c -t " " -k -d " - " -ziST -w ... ]\n", me); + " -ziST1 -w ... ]\n", me); return 1; } } @@ -871,7 +871,7 @@ int statserv_main(int argc, char **argv, /* Now setup the service with the service controller */ SetupService(argc, argv, &ArgDetails, SZAPPNAME, cb->service_name, /* internal service name */ - cb->service_name, /* displayed name of the service */ + cb->service_display_name, /* displayed name */ SZDEPENDENCIES); return 0; }