From: Niels Provos Date: Mon, 12 Jan 2009 05:22:29 +0000 (+0000) Subject: make it compile with USE_DEBUG again; reported by Alexander Drozdov X-Git-Tag: release-2.0.1-alpha~185 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a72441077548fc327163ed19ccb5658d4e7ca7e;p=libevent make it compile with USE_DEBUG again; reported by Alexander Drozdov svn:r990 --- diff --git a/signal.c b/signal.c index 844b8b4e..eaa2fff7 100644 --- a/signal.c +++ b/signal.c @@ -211,7 +211,7 @@ evsig_add(struct event_base *base, int evsignal, short old, short events) assert(evsignal >= 0 && evsignal < NSIG); - event_debug(("%s: %p: changing signal handler", __func__, ev)); + event_debug(("%s: %d: changing signal handler", __func__, evsignal)); if (_evsig_set_handler(base, evsignal, evsig_handler) == -1) return (-1); @@ -263,7 +263,7 @@ evsig_del(struct event_base *base, int evsignal, short old, short events) { assert(evsignal >= 0 && evsignal < NSIG); - event_debug(("%s: %p: restoring signal handler", __func__, ev)); + event_debug(("%s: %d: restoring signal handler", __func__, evsignal)); return (_evsig_restore_handler(base, evsignal)); }