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:
ca03b73
)
- added logging when destroying
author
Jan Hutter
<jhutter@hsr.ch>
Tue, 22 Nov 2005 11:51:22 +0000
(11:51 -0000)
committer
Jan Hutter
<jhutter@hsr.ch>
Tue, 22 Nov 2005 11:51:22 +0000
(11:51 -0000)
Source/charon/receiver.c
patch
|
blob
|
history
diff --git
a/Source/charon/receiver.c
b/Source/charon/receiver.c
index
eab6044
..
309f2de
100644
(file)
--- a/
Source/charon/receiver.c
+++ b/
Source/charon/receiver.c
@@
-95,10
+95,12
@@
static void receiver_thread_function(private_receiver_t * this)
*/
static status_t destroy(private_receiver_t *this)
{
+ this->logger->log(this->logger, CONTROL | MORE, "Going to terminate receiver thread");
pthread_cancel(this->assigned_thread);
pthread_join(this->assigned_thread, NULL);
-
+ this->logger->log(this->logger, CONTROL | MORE, "Receiver thread terminated");
+
global_logger_manager->destroy_logger(global_logger_manager, this->logger);
allocator_free(this);