1 --- openswan-2.4.7.orig/lib/libopenswan/oswlog.c 2004-10-17 01:42:13.000000000 +0200
2 +++ openswan-2.4.7/lib/libopenswan/oswlog.c 2006-11-28 16:08:18.000000000 +0100
3 @@ -41,9 +41,11 @@ bool
5 logged_txt_warning = FALSE; /* should we complain about finding KEY? */
7 +#if !defined(NO_DEBUG)
8 void openswanlib_passert_fail(const char *pred_str, const char *file_str,
9 unsigned long line_no);
10 openswan_passert_fail_t openswan_passert_fail = openswanlib_passert_fail;
11 +#endif /* NO_DEBUG */
15 @@ -104,6 +106,7 @@ openswan_log(const char *message, ...)
16 syslog(LOG_WARNING, "%s", m);
19 +#if !defined(NO_DEBUG)
21 openswan_loglog(int mess_no, const char *message, ...)
23 @@ -119,6 +122,7 @@ openswan_loglog(int mess_no, const char
25 syslog(LOG_WARNING, "%s", m);
30 openswan_log_errno_routine(int e, const char *message, ...)