[Spread-cvs] commit: r445 - in trunk: daemon libspread

jonathan at spread.org jonathan at spread.org
Fri Jan 6 20:28:26 EST 2012


Author: jonathan
Date: 2012-01-06 20:28:25 -0500 (Fri, 06 Jan 2012)
New Revision: 445

Modified:
   trunk/daemon/Changelog
   trunk/libspread/sp.c
Log:
Apply reported fix to remove printf calls from spread library

Modified: trunk/daemon/Changelog
===================================================================
--- trunk/daemon/Changelog	2012-01-07 01:23:38 UTC (rev 444)
+++ trunk/daemon/Changelog	2012-01-07 01:28:25 UTC (rev 445)
@@ -1,3 +1,9 @@
+Fri Jan  6 20:26:56 2012  John Schultz  <jschultz at spreadconcepts.com>
+
+	* sp.c (recv_nointr_timeout): Remove printf calls from libary. 
+	Error reported by customer because the prints affected 
+	application output. 
+
 Fri Jan  6 20:22:10 2012  John Schultz  <jschultz at spreadconcepts.com>
 
 	* arch.h: Protect bool definition so it is not included when a 

Modified: trunk/libspread/sp.c
===================================================================
--- trunk/libspread/sp.c	2012-01-07 01:23:38 UTC (rev 444)
+++ trunk/libspread/sp.c	2012-01-07 01:28:25 UTC (rev 445)
@@ -292,14 +292,12 @@
                                 sel_time.tv_sec = wait_time.sec;
                                 sel_time.tv_usec = wait_time.usec;
                         } else {
-                                printf("recv_nointr_timeout: Timed out when interrupted\n");
                                 sock_set_errno( ERR_TIMEDOUT );
                                 return(-1);
                         }
                         rset = fixed_rset;
                 }
                 if ( !num_ready ) {
-                        printf("recv_nointr_timeout: Timed out\n");
                         sock_set_errno( ERR_TIMEDOUT );
                         return(-1);
                 } 




More information about the Spread-cvs mailing list