Update of /cvsroot/playerstage/code/player/server
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24058/server
Modified Files:
server.cc
Log Message:
added print of version number
Index: server.cc
===================================================================
RCS file: /cvsroot/playerstage/code/player/server/server.cc,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** server.cc 10 Jul 2007 09:01:52 -0000 1.37
--- server.cc 21 Aug 2007 21:25:55 -0000 1.38
***************
*** 99,102 ****
--- 99,103 ----
+ void PrintVersion();
void PrintCopyrightMsg();
void PrintUsage();
***************
*** 150,153 ****
--- 151,155 ----
assert(pudp);
+ PrintVersion();
if(ParseArgs(&port, &debuglevel, &cfgfilename, &gz_serverid, argc, argv) <
0)
{
***************
*** 290,293 ****
--- 292,301 ----
void
+ PrintVersion()
+ {
+ fprintf(stderr, "Player v.%s\n", PACKAGE_VERSION);
+ }
+
+ void
PrintCopyrightMsg()
{
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit