aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-09-16 13:16:00 +0200
committerMartin Willi <martin@strongswan.org>2009-09-16 13:16:00 +0200
commitb538b606da7f4e10ec2a60046c726dc74b6e030f (patch)
tree94355b0ffaf36536931c730de001a8e44d363590 /src/charon/plugins
parent5289249449e0e6792cdbc014ec7bc03a0c179354 (diff)
downloadstrongswan-b538b606da7f4e10ec2a60046c726dc74b6e030f.tar.bz2
strongswan-b538b606da7f4e10ec2a60046c726dc74b6e030f.tar.xz
Use the default debug hook if possible
Diffstat (limited to 'src/charon/plugins')
-rw-r--r--src/charon/plugins/sql/pool.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/charon/plugins/sql/pool.c b/src/charon/plugins/sql/pool.c
index 55d82dac7..68c2dac48 100644
--- a/src/charon/plugins/sql/pool.c
+++ b/src/charon/plugins/sql/pool.c
@@ -589,22 +589,6 @@ static void cleanup(void)
DESTROY_IF(end);
}
-/**
- * Logging hook for library logs, using stderr output
- */
-static void dbg_stderr(int level, char *fmt, ...)
-{
- va_list args;
-
- if (level <= 1)
- {
- va_start(args, fmt);
- vfprintf(stderr, fmt, args);
- fprintf(stderr, "\n");
- va_end(args);
- }
-}
-
int main(int argc, char *argv[])
{
char *uri, *name = "", *filter = "";
@@ -620,7 +604,6 @@ int main(int argc, char *argv[])
OP_PURGE,
} operation = OP_USAGE;
- dbg = dbg_stderr;
atexit(library_deinit);
/* initialize library */