diff options
author | Martin Willi <martin@strongswan.org> | 2006-10-26 09:46:56 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-10-26 09:46:56 +0000 |
commit | b83806d83d9170487120c688d39be4a9abda3fad (patch) | |
tree | 0cbef6c1774a1c9f7b66fe5a7b6106746cb302f6 /src/charon/threads/receiver.c | |
parent | 80d35dd6d3c6366396def278b510d1ac10fe6195 (diff) | |
download | strongswan-b83806d83d9170487120c688d39be4a9abda3fad.tar.bz2 strongswan-b83806d83d9170487120c688d39be4a9abda3fad.tar.xz |
improved signal handling and emitting
Diffstat (limited to 'src/charon/threads/receiver.c')
-rw-r--r-- | src/charon/threads/receiver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/charon/threads/receiver.c b/src/charon/threads/receiver.c index c2fc315a7..09b1739c4 100644 --- a/src/charon/threads/receiver.c +++ b/src/charon/threads/receiver.c @@ -62,20 +62,20 @@ static void receive_packets(private_receiver_t * this) /* cancellation disabled by default */ pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL); - DBG1(SIG_DBG_NET, "receiver thread running, thread_ID: %06u", + DBG1(DBG_NET, "receiver thread running, thread_ID: %06u", (int)pthread_self()); while (TRUE) { while (charon->socket->receive(charon->socket,¤t_packet) == SUCCESS) { - DBG2(SIG_DBG_NET, "creating job from packet"); + DBG2(DBG_NET, "creating job from packet"); current_job = (job_t *) incoming_packet_job_create(current_packet); charon->job_queue->add(charon->job_queue,current_job); } /* bad bad, TODO: rebuild the socket ? */ - DBG1(SIG_DBG_NET, "receiving from socket failed!"); + DBG1(DBG_NET, "receiving from socket failed!"); } } |