aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/sender.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-12-06 16:36:42 +0000
committerJan Hutter <jhutter@hsr.ch>2005-12-06 16:36:42 +0000
commit3febcf15f0cba8b17ab3bdb67c3d0864ef61080c (patch)
tree7fa7873bf72bea54654883fe00663e83cbac1d83 /Source/charon/threads/sender.c
parentf1046648362e045781ad7eee6f821d0675178b80 (diff)
downloadstrongswan-3febcf15f0cba8b17ab3bdb67c3d0864ef61080c.tar.bz2
strongswan-3febcf15f0cba8b17ab3bdb67c3d0864ef61080c.tar.xz
- code cleaned up
Diffstat (limited to 'Source/charon/threads/sender.c')
-rw-r--r--Source/charon/threads/sender.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/charon/threads/sender.c b/Source/charon/threads/sender.c
index 3719c6b6c..2ba0de781 100644
--- a/Source/charon/threads/sender.c
+++ b/Source/charon/threads/sender.c
@@ -74,16 +74,16 @@ static void send_packets(private_sender_t * this)
/* cancellation disabled by default */
pthread_setcancelstate(PTHREAD_CANCEL_DISABLE, NULL);
- this->logger->log(this->logger, CONTROL, "sender thread running, thread_id %u", (int)pthread_self());
+ this->logger->log(this->logger, CONTROL, "Sender thread running, thread_id %u", (int)pthread_self());
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|MORE, "Got a packet, sending it");
status = charon->socket->send(charon->socket,current_packet);
if (status != SUCCESS)
{
- this->logger->log(this->logger, ERROR, "sending failed, socket returned %s",
+ this->logger->log(this->logger, ERROR, "Sending failed, socket returned %s",
mapping_find(status_m, status));
}
current_packet->destroy(current_packet);