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:
26a3d7e
)
Initialize libstrongswan in stroke (fixes Vstr logging).
author
Tobias Brunner
<tobias@strongswan.org>
Thu, 29 Apr 2010 12:51:44 +0000
(14:51 +0200)
committer
Tobias Brunner
<tobias@strongswan.org>
Thu, 29 Apr 2010 12:51:44 +0000
(14:51 +0200)
src/stroke/stroke.c
patch
|
blob
|
history
diff --git
a/src/stroke/stroke.c
b/src/stroke/stroke.c
index
1cb8cc2
..
4fa0f76
100644
(file)
--- a/
src/stroke/stroke.c
+++ b/
src/stroke/stroke.c
@@
-27,6
+27,8
@@
#include <stddef.h>
#include <string.h>
+#include <library.h>
+
#include "stroke_msg.h"
#include "stroke_keywords.h"
@@
-357,6
+359,9
@@
int main(int argc, char *argv[])
const stroke_token_t *token;
int res = 0;
+ library_init(NULL);
+ atexit(library_deinit);
+
if (argc < 2)
{
exit_usage(NULL);