thermferm/server.c

changeset 666
48cc8868f9f4
parent 665
66fae54fa7ba
child 676
09b5efe0c633
--- a/thermferm/server.c	Sun Apr 07 16:05:06 2024 +0200
+++ b/thermferm/server.c	Sun Apr 07 20:26:37 2024 +0200
@@ -97,7 +97,6 @@
 
 //    if (debug) {
 //	syslog(LOG_NOTICE, "send: \"%s\"", out);
-//	fprintf(stdout, "send: \"%s\"\n", out);
 //    }
 
     if (send(s, out, strlen(out), 0) != strlen(out)) {
@@ -153,7 +152,6 @@
 
 //    if (debug) {
 //	syslog(LOG_NOTICE, "recv: %d `%s'", bytesloaded, buffer);
-//	fprintf(stdout, "recv: %d `%s'\n", bytesloaded, buffer);
 //    }
     return bytesloaded;
 }
@@ -2159,8 +2157,6 @@
 
     my_server_state = 1;
     syslog(LOG_NOTICE, "Thread my_server_loop started");
-    if (debug)
-	fprintf(stdout, "Thread my_server_loop started\n");
 
     /*
      * Prepare thread to stop in blocking accept() call.

mercurial