don't treat it as a fatal socket error, when chan_lcr sends messages to an already...
authorschlaile <root@asterisk.schlaile.de>
Mon, 23 Jun 2008 17:50:46 +0000 (19:50 +0200)
committerroot <root@asterisk.schlaile.de>
Mon, 23 Jun 2008 17:50:46 +0000 (19:50 +0200)
socket_server.c

index 81ec55b..fd18ff5 100644 (file)
@@ -701,8 +701,8 @@ int admin_message_to_join(struct admin_msg *msg, struct admin_list *admin)
        }
        if (!join)
        {
-               PERROR("No join found with serial %d.\n", msg->ref);
-               return(-1);
+               PDEBUG(DEBUG_LOG, "No join found with serial %d. (May have been already released.)\n", msg->ref);
+               return(0);
        }
 
        /* check application */