diff options
author | Martin Willi <martin@strongswan.org> | 2005-12-07 07:57:18 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-12-07 07:57:18 +0000 |
commit | aee3eb529999805eac9d3edba47ca46df7946306 (patch) | |
tree | 9d048c516ff3e2fad9cc068e582e5a807490d6d6 /Source/charon/threads/sender.c | |
parent | a36a745a1891b6d288e94211c76059a2be25d9e0 (diff) | |
download | strongswan-aee3eb529999805eac9d3edba47ca46df7946306.tar.bz2 strongswan-aee3eb529999805eac9d3edba47ca46df7946306.tar.xz |
../svn-commit.tmp
Diffstat (limited to 'Source/charon/threads/sender.c')
-rw-r--r-- | Source/charon/threads/sender.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/charon/threads/sender.c b/Source/charon/threads/sender.c index 2ba0de781..82aa2b2e3 100644 --- a/Source/charon/threads/sender.c +++ b/Source/charon/threads/sender.c @@ -79,7 +79,7 @@ static void send_packets(private_sender_t * this) while (1) { current_packet = charon->send_queue->get(charon->send_queue); - this->logger->log(this->logger, CONTROL|MORE, "Got a packet, sending it"); + this->logger->log(this->logger, CONTROL|LEVEL1, "Got a packet, sending it"); status = charon->socket->send(charon->socket,current_packet); if (status != SUCCESS) { @@ -95,11 +95,11 @@ static void send_packets(private_sender_t * this) */ static void destroy(private_sender_t *this) { - this->logger->log(this->logger, CONTROL | MORE, "Going to terminate sender thread"); + this->logger->log(this->logger, CONTROL | LEVEL1, "Going to terminate sender thread"); pthread_cancel(this->assigned_thread); pthread_join(this->assigned_thread, NULL); - this->logger->log(this->logger, CONTROL | MORE, "Sender thread terminated"); + this->logger->log(this->logger, CONTROL | LEVEL1, "Sender thread terminated"); charon->logger_manager->destroy_logger(charon->logger_manager, this->logger); |