summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-10-15 19:20:30 +0000
committerChris Wilson <chris+github@qwirx.com>2006-10-15 19:20:30 +0000
commitd3cec4b830d6799bf161f80e79bc0dc69dc0f9e1 (patch)
treed9769240dfb29e1a5e92cf5706dfa16f4359676d /lib
parent4df92a56a61fb8803e7e0541fab9c1c9af2cdcdd (diff)
Compile fix. (refs #3)
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Test.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h
index 5e42e406..35e9ba58 100644
--- a/lib/common/Test.h
+++ b/lib/common/Test.h
@@ -108,7 +108,7 @@ inline int LaunchServer(const char *pCommandLine, const char *pidFile)
{
if(RunCommand(pCommandLine) != 0)
{
- printf("Server: %s\n", command.c_str());
+ printf("Server: %s\n", pCommandLine);
TEST_FAIL_WITH_MESSAGE("Couldn't start server");
return -1;
}
@@ -118,7 +118,7 @@ inline int LaunchServer(const char *pCommandLine, const char *pidFile)
// read pid file
if(!TestFileExists(pidFile))
{
- printf("Server: %s\n", command.c_str());
+ printf("Server: %s\n", pCommandLine);
TEST_FAIL_WITH_MESSAGE("Server didn't save PID file");
return -1;
}
@@ -127,7 +127,7 @@ inline int LaunchServer(const char *pCommandLine, const char *pidFile)
int pid = -1;
if(f == NULL || fscanf(f, "%d", &pid) != 1)
{
- printf("Server: %s (pidfile %s)\n", command.c_str(), pidFile);
+ printf("Server: %s (pidfile %s)\n", pCommandLine, pidFile);
TEST_FAIL_WITH_MESSAGE("Couldn't read PID file");
return -1;
}