LOG_ERROR is not a valid loglevel.
authorJoe Atzberger <atz@esilibrary.com>
Mon, 10 May 2010 22:27:12 +0000 (22:27 +0000)
committerJoe Atzberger <atz@esilibrary.com>
Mon, 10 May 2010 22:27:12 +0000 (22:27 +0000)
LOG_ERR is.

Sip/MsgType.pm

index 3f3c092..78d62d2 100644 (file)
@@ -1533,7 +1533,7 @@ sub send_acs_status {
     } elsif ($protocol_version == 2) {
        $msg .= '2.00';
     } else {
-       syslog("LOG_ERROR",
+       syslog("LOG_ERR",
               'Bad setting for $protocol_version, "%s" in send_acs_status',
               $protocol_version);
        $msg .= '1.00';
@@ -1554,7 +1554,7 @@ sub send_acs_status {
            }
        }
        if (length($supported_msgs) < 16) {
-           syslog("LOG_ERROR", 'send_acs_status: supported messages "%s" too short', $supported_msgs);
+           syslog("LOG_ERR", 'send_acs_status: supported messages "%s" too short', $supported_msgs);
        }
        $msg .= add_field(FID_SUPPORTED_MSGS, $supported_msgs);
     }