testbot/testagentd: Print the version on startup.
Francois Gouget
fgouget at codeweavers.com
Mon Feb 25 09:57:42 CST 2013
---
An alternative would be to add a --version option and only print the
version then. However in the current use case printing it on startup
seems more practical and since testagentd already prints messages on
startup it should be ok.
testbot/src/testagentd/testagentd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testbot/src/testagentd/testagentd.c b/testbot/src/testagentd/testagentd.c
index 26e2a9b..8a8f2bb 100644
--- a/testbot/src/testagentd/testagentd.c
+++ b/testbot/src/testagentd/testagentd.c
@@ -1173,6 +1173,7 @@ int main(int argc, char** argv)
error("listen() failed: %s\n", sockerror());
exit(1);
}
+ printf("Starting %s\n", PROTOCOL_VERSION);
while (1)
{
SOCKET client;
--
1.7.10.4
More information about the wine-patches
mailing list