summaryrefslogtreecommitdiff
path: root/server-tools/instance-manager/IMService.cpp
diff options
context:
space:
mode:
authorunknown <reggie@linux.site>2005-08-09 07:57:40 -0600
committerunknown <reggie@linux.site>2005-08-09 07:57:40 -0600
commitf766a1dc41e7b72741746a462704dc42562b2b86 (patch)
treea7fde26b064339dd4ccb6aea6869aa1fdc4caa2a /server-tools/instance-manager/IMService.cpp
parent7a42570fb739477861e17714c21774591c994f4d (diff)
downloadmariadb-git-f766a1dc41e7b72741746a462704dc42562b2b86.tar.gz
changes to IM code that came from Petr's review
server-tools/instance-manager/IMService.cpp: syntax change requested by Petr server-tools/instance-manager/options.cc: return 1 instead of -1 server-tools/instance-manager/options.h: changed return value of setup_windows_defaults to int from void
Diffstat (limited to 'server-tools/instance-manager/IMService.cpp')
-rw-r--r--server-tools/instance-manager/IMService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-tools/instance-manager/IMService.cpp b/server-tools/instance-manager/IMService.cpp
index 4e53fe15ef4..428667d51fd 100644
--- a/server-tools/instance-manager/IMService.cpp
+++ b/server-tools/instance-manager/IMService.cpp
@@ -66,6 +66,6 @@ int HandleServiceOptions(Options options)
}
}
else
- ret_val= winService.Init() ? 0 : 1;
+ ret_val= !winService.Init();
return ret_val;
}