[Onhm-cvs-commits] CVS: Software/onhmserverd/src main.c,1.1,1.2
Status: Planning
Brought to you by:
cheezel
|
From: Brian C. <bch...@us...> - 2005-12-06 12:19:03
|
Update of /cvsroot/onhm/Software/onhmserverd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3160/onhmserverd/src Modified Files: main.c Log Message: Miscellaneous updates to the codebase. Index: main.c =================================================================== RCS file: /cvsroot/onhm/Software/onhmserverd/src/main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** main.c 20 Aug 2005 06:53:54 -0000 1.1 --- main.c 6 Dec 2005 12:18:53 -0000 1.2 *************** *** 1,14 **** ! #include "daemon.h" ! #include "logger.h" ! ! #define _GNU_SOURCE ! #include <string.h> ! ! int main(void) ! { ! goDaemon(strdup("onhm"), strdup("onhm")); ! initialiseLogging(ONHM_LOG_FILE,strdup("onhmsvr"), strdup("/opt/onhm/logs/server.log")); ! ! shutdownLogging(); ! return 0; ! } --- 1,14 ---- ! #include "daemon.h" ! #include "logger.h" ! ! #define _GNU_SOURCE ! #include <string.h> ! ! int main(void) ! { ! goDaemon(strdup("onhm"), strdup("onhm")); ! initialiseLogging(ONHM_LOG_FILE,strdup("onhmsvr"), strdup("/opt/onhm/logs/server.log")); ! ! shutdownLogging(); ! return 0; ! } |