[Spread-cvs] commit: r540 - in libspreadutil/trunk: . src

jonathan at spread.org jonathan at spread.org
Tue Mar 12 07:09:56 EDT 2013


Author: jonathan
Date: 2013-03-12 07:09:55 -0400 (Tue, 12 Mar 2013)
New Revision: 540

Modified:
   libspreadutil/trunk/Changelog
   libspreadutil/trunk/src/events.c
Log:
Change Alarm print to only log on Events in attach_fd

Modified: libspreadutil/trunk/Changelog
===================================================================
--- libspreadutil/trunk/Changelog	2013-03-11 18:04:58 UTC (rev 539)
+++ libspreadutil/trunk/Changelog	2013-03-12 11:09:55 UTC (rev 540)
@@ -1,3 +1,8 @@
+Tue Mar 12 07:08:28 2013  Jonathan Stanton  <jonathan at spreadconcepts.com>
+
+	* src/events.c (E_attach_fd): Change Alarm priority from PRINT to EVENTS so non-error FD attach 
+	does not log every time. 
+
 Mon Jun 18 13:24:41 2012  Jonathan Stanton  <jonathan at spreadconcepts.com>
 
 	* src/data_link.c (DL_init_channel): Fix DL_init_channels algorithm for selecting which

Modified: libspreadutil/trunk/src/events.c
===================================================================
--- libspreadutil/trunk/src/events.c	2013-03-11 18:04:58 UTC (rev 539)
+++ libspreadutil/trunk/src/events.c	2013-03-12 11:09:55 UTC (rev 540)
@@ -587,7 +587,7 @@
                         if ( !(Fd_queue[priority].events[j].active) )
                                 Fd_queue[priority].num_active_fds++;
                         Fd_queue[priority].events[j].active = TRUE;
-			Alarm( PRINT, 
+			Alarm( EVENTS, 
 				"E_attach_fd: fd %d with type %d exists & replaced & activated\n", fd, fd_type );
 			return( 1 );
 		}




More information about the Spread-cvs mailing list