projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
495fd10
)
Rename service name.
author
Scott Cantor
<cantor.2@osu.edu>
Fri, 8 Jun 2007 21:46:40 +0000
(21:46 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Fri, 8 Jun 2007 21:46:40 +0000
(21:46 +0000)
shibd/shibd_win32.cpp
patch
|
blob
|
history
diff --git
a/shibd/shibd_win32.cpp
b/shibd/shibd_win32.cpp
index
46918ae
..
de27057
100644
(file)
--- a/
shibd/shibd_win32.cpp
+++ b/
shibd/shibd_win32.cpp
@@
-354,7
+354,7
@@
void CmdInstallService(LPCSTR name)
}
\r
\r
sprintf(dispName,"Shibboleth %s Daemon (%s)",PACKAGE_VERSION,name);
\r
}
\r
\r
sprintf(dispName,"Shibboleth %s Daemon (%s)",PACKAGE_VERSION,name);
\r
- sprintf(realName,"shibd_%s",name);
\r
+ sprintf(realName,"shibd
2
_%s",name);
\r
if (shar_config && shar_schemadir)
\r
sprintf(cmd,"%s -config %s -schemadir %s",szPath,shar_config,shar_schemadir);
\r
else if (shar_config)
\r
if (shar_config && shar_schemadir)
\r
sprintf(cmd,"%s -config %s -schemadir %s",szPath,shar_config,shar_schemadir);
\r
else if (shar_config)
\r
@@
-410,7
+410,7
@@
void CmdRemoveService(LPCSTR name)
SC_HANDLE schSCManager;
\r
char realName[512];
\r
\r
SC_HANDLE schSCManager;
\r
char realName[512];
\r
\r
- sprintf(realName,"shibd_%s",name);
\r
+ sprintf(realName,"shibd
2
_%s",name);
\r
\r
schSCManager = OpenSCManager(
\r
NULL, // machine (NULL == local)
\r
\r
schSCManager = OpenSCManager(
\r
NULL, // machine (NULL == local)
\r