From 1a5da453680265ac826249d88ac3fbf3ad1f8d04 Mon Sep 17 00:00:00 2001 From: jongfoster Date: Sun, 16 Sep 2001 23:04:34 +0000 Subject: [PATCH] Fixing a warning --- errlog.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/errlog.c b/errlog.c index fad5d6e5..b9ff49ef 100644 --- a/errlog.c +++ b/errlog.c @@ -1,4 +1,4 @@ -const char errlog_rcs[] = "$Id: errlog.c,v 1.18 2001/09/10 11:27:24 oes Exp $"; +const char errlog_rcs[] = "$Id: errlog.c,v 1.19 2001/09/13 20:08:06 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/errlog.c,v $ @@ -33,6 +33,9 @@ const char errlog_rcs[] = "$Id: errlog.c,v 1.18 2001/09/10 11:27:24 oes Exp $"; * * Revisions : * $Log: errlog.c,v $ + * Revision 1.19 2001/09/13 20:08:06 jongfoster + * Adding support for LOG_LEVEL_CGI + * * Revision 1.18 2001/09/10 11:27:24 oes * Declaration of w32_socket_strerr now conditional * @@ -368,7 +371,7 @@ void log_error(int loglevel, char *fmt, ...) break; #endif /* def FEATURE_KILL_POPUPS */ case LOG_LEVEL_CGI: - outc = sprintf(outbuf, "IJB(%d) CGI: ", this_thread); + outc = sprintf(outbuf, "IJB(%ld) CGI: ", this_thread); break; default: outc = sprintf(outbuf, "IJB(%ld) UNKNOWN LOG TYPE(%d): ", this_thread, loglevel); -- 2.39.2