[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] stop calling it a "libevent poll" -- the word "poll" has



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	main.c 
Log Message:
stop calling it a "libevent poll" -- the word "poll" has
other meaning in this context that are confusing.


Index: main.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.620
retrieving revision 1.621
diff -u -p -d -r1.620 -r1.621
--- main.c	5 Feb 2006 03:42:34 -0000	1.620
+++ main.c	9 Feb 2006 03:09:52 -0000	1.621
@@ -1143,10 +1143,10 @@ do_main_loop(void)
       /* let the program survive things like ^z */
       if (e != EINTR && !ERRNO_IS_EINPROGRESS(e)) {
 #ifdef HAVE_EVENT_GET_METHOD
-        err(LD_NET,"libevent poll with %s failed: %s [%d]",
+        err(LD_NET,"libevent call with %s failed: %s [%d]",
             event_get_method(), tor_socket_strerror(e), e);
 #else
-        err(LD_NET,"libevent poll failed: %s [%d]",
+        err(LD_NET,"libevent call failed: %s [%d]",
             tor_socket_strerror(e), e);
 #endif
         return -1;
@@ -1158,8 +1158,8 @@ do_main_loop(void)
 #endif
       } else {
         if (ERRNO_IS_EINPROGRESS(e))
-          warn(LD_BUG,"libevent poll returned EINPROGRESS? Please report.");
-        debug(LD_NET,"event poll interrupted.");
+          warn(LD_BUG,"libevent call returned EINPROGRESS? Please report.");
+        debug(LD_NET,"libevent call interrupted.");
         /* You can't trust the results of this poll(). Go back to the
          * top of the big for loop. */
         continue;