slightly more clear log message
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Feb 2005 14:25:26 +0000 (14:25 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Feb 2005 14:25:26 +0000 (14:25 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@11 9efc2488-bf62-4759-914b-345cdb29e865

src/libtransport/transport_socket.c

index e228f57..49864eb 100644 (file)
@@ -183,14 +183,14 @@ int tcp_wait( transport_socket* sock_obj, int timeout ){
                // If timeout is -1, there is no timeout passed to the call to select
                // ------------------------------------------------------------------
                if( (retval = select( sock_fd + 1 , &read_set, NULL, NULL, NULL)) == -1 ) {
-                       warning_handler( "Call to select failed" );
+                       warning_handler( "Call to select interrupted" );
                        return 0;
                }
 
        } else if( timeout != 0 ) { /* timeout of 0 means don't block */
 
                if( (retval = select( sock_fd + 1 , &read_set, NULL, NULL, &tv)) == -1 ) {
-                       warning_handler( "Call to select failed" );
+                       warning_handler( "Call to select interrupted" );
                        return 0;
                }
        }