strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9326235
)
- added logging when destroying
author
Jan Hutter
<jhutter@hsr.ch>
Tue, 22 Nov 2005 11:53:00 +0000
(11:53 -0000)
committer
Jan Hutter
<jhutter@hsr.ch>
Tue, 22 Nov 2005 11:53:00 +0000
(11:53 -0000)
Source/charon/sender.c
patch
|
blob
|
history
diff --git
a/Source/charon/sender.c
b/Source/charon/sender.c
index
0d056af
..
224bafa
100644
(file)
--- a/
Source/charon/sender.c
+++ b/
Source/charon/sender.c
@@
-90,9
+90,11
@@
static void sender_thread_function(private_sender_t * this)
*/
static status_t destroy(private_sender_t *this)
{
+ this->logger->log(this->logger, CONTROL | MORE, "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");
global_logger_manager->destroy_logger(global_logger_manager, this->logger);