Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added new exception for Valgrind

  • Loading branch information...
commit 0396763f33c4c8d2d102869c67b015e07ebd2888 1 parent ff498b4
@hintjens hintjens authored
Showing with 11 additions and 2 deletions.
  1. +7 −0 src/valgrind.supp
  2. +4 −2 src/zloop.c
View
7 src/valgrind.supp
@@ -5,3 +5,10 @@
fun:send
...
}
+{
+ <socketcall_sendto>
+ Memcheck:Param
+ socketcall.send(msg)
+ fun:send
+ ...
+}
View
6 src/zloop.c
@@ -320,13 +320,15 @@ zloop_start (zloop_t *self)
// --------------------------------------------------------------------------
// Selftest
-int s_timer_event (zloop_t *loop, zmq_pollitem_t *item, void *output)
+static int
+s_timer_event (zloop_t *loop, zmq_pollitem_t *item, void *output)
{
zstr_send (output, "PING");
return 0;
}
-int s_socket_event (zloop_t *loop, zmq_pollitem_t *item, void *arg)
+static int
+s_socket_event (zloop_t *loop, zmq_pollitem_t *item, void *arg)
{
// Just end the reactor
return -1;
Please sign in to comment.
Something went wrong with that request. Please try again.