X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fservice.c;h=bf211ae536637fd8ab05150b795927bf3f7d624d;hb=3ee7ef4088b265faffbdcabe3eb13d5f04a3b832;hp=9add9b85a5865823e5348ec5f6e096aa0ec56a96;hpb=05c274ef315384faafcc5900c17468f0ea2474e6;p=yaz-moved-to-github.git diff --git a/src/service.c b/src/service.c index 9add9b8..bf211ae 100644 --- a/src/service.c +++ b/src/service.c @@ -2,7 +2,7 @@ * NT Service interface Utility. * Based on code written by * Chas Woodfield, Fretwell Downing Informatics. - * $Id: service.c,v 1.2 2004-10-15 00:19:00 adam Exp $ + * $Id: service.c,v 1.4 2006-05-07 20:32:56 adam Exp $ */ /** @@ -226,9 +226,9 @@ void CmdInstallService(int argc, char *argv[], BOOL bAutoStart) { /* We will add the given command line arguments to the command */ /* We are not interested in the install and remove options */ - if ((stricmp("-install", argv[i]) != 0) && - (stricmp("-installa", argv[i]) != 0) && - (stricmp("-remove", argv[i]) != 0)) + if ((strcmp("-install", argv[i]) != 0) && + (strcmp("-installa", argv[i]) != 0) && + (strcmp("-remove", argv[i]) != 0)) { strcat(szPath, TEXT(" ")); strcat(szPath, argv[i]); @@ -464,3 +464,11 @@ BOOL EventHandlerRoutine(DWORD dwCtrlType) } } #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +