From: Chris Bongaarts Date: Thu, 26 Apr 2001 17:10:31 +0000 (-0500) Subject: [ID 20010426.006] Sys::Syslog ignores LOG_AUTH constant X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=996f7592d488162d2e8cb2517f76ab7df1418376;p=p5sagit%2Fp5-mst-13.2.git [ID 20010426.006] Sys::Syslog ignores LOG_AUTH constant Message-Id: p4raw-id: //depot/perl@9869 --- diff --git a/ext/Sys/Syslog/Syslog.xs b/ext/Sys/Syslog/Syslog.xs index 31c0e84..588372e 100644 --- a/ext/Sys/Syslog/Syslog.xs +++ b/ext/Sys/Syslog/Syslog.xs @@ -106,7 +106,7 @@ not_there: static double constant_LOG_AU(char *name, int len) { - if (6 + 2 >= len ) { + if (6 + 2 > len ) { errno = EINVAL; return 0; }