X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fservice.c;h=7ed3770251d300412337862461b0b12261426787;hp=267da8b1db9df31429669ec0c04c3151ff3d9b87;hb=2979c8fc3b5c53c06facad850dcae09645b43044;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/service.c b/src/service.c index 267da8b..7ed3770 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.3 2005-06-25 15:46:04 adam Exp $ + * $Id: service.c,v 1.5 2007-01-03 08:42:15 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]);