]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Added missing continue statement in ha socket error handling
authorTobias Brunner <tobias@strongswan.org>
Fri, 28 Sep 2012 16:52:00 +0000 (18:52 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 28 Sep 2012 16:52:43 +0000 (18:52 +0200)
src/libcharon/plugins/ha/ha_socket.c

index c02cf10213b10544637db795b1f1e9bc95cb395b..5196a5dc7d6bf9ff4fbaec38842d9e245b82d187 100644 (file)
@@ -138,6 +138,7 @@ METHOD(ha_socket_t, pull, ha_message_t*,
                                        DBG1(DBG_CFG, "pulling HA message failed: %s",
                                                 strerror(errno));
                                        sleep(1);
+                                       continue;
                        }
                }
                message = ha_message_parse(chunk_create(buf, len));