diff --git a/iguana/dpow/dpow_network.c b/iguana/dpow/dpow_network.c index 907bae6d7..70e51cd9f 100755 --- a/iguana/dpow/dpow_network.c +++ b/iguana/dpow/dpow_network.c @@ -1977,6 +1977,7 @@ int32_t dpow_nanomsg_update(struct supernet_info *myinfo) } if ( myinfo->repsock >= 0 ) // from clients { + num = 0; while ( (size= nn_recv(myinfo->repsock,&dexp,NN_MSG,0)) > 0 ) { num++;