* src/ttt-server.c (main): Put the initial server started message
in the log file as well.
+2005-12-09 Carl Worth <cworth@cworth.org>
+
+ * src/ttt-server.c (main): Put the initial server started message
+ in the log file as well.
+
2005-12-09 Carl Worth <cworth@cworth.org>
* src/ttt-args.h:
socket = ttt_socket_create_server (args.host, args.port);
- if (args.detach)
+ if (args.detach) {
printf ("Server started listening on %s:%s\n", args.host, args.port);
- else
+ fprintf (stderr, "Server started listening on %s:%s\n", args.host, args.port);
+ } else {
printf (WELCOME_MESSAGE, args.host, args.port, args.host, args.port);
+ }
fclose (stdout);
fclose (stdin);