From b398b624e74d87093dcedca902aa4c0e68093cf8 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Tue, 11 May 2010 03:09:29 +0000 Subject: [PATCH] Correct log message: Sip::MsgType::_initialize not Sip::MsgType:_initialize (one colon) --- Sip/MsgType.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sip/MsgType.pm b/Sip/MsgType.pm index 78d62d2..55555aa 100644 --- a/Sip/MsgType.pm +++ b/Sip/MsgType.pm @@ -327,17 +327,17 @@ sub _initialize { my ($fs, $fn, $fe); my $proto = $control_block->{protocol}->{$protocol_version}; - $self->{name} = $control_block->{name}; + $self->{name} = $control_block->{name}; $self->{handler} = $control_block->{handler}; $self->{fields} = {}; $self->{fixed_fields} = []; - syslog("LOG_DEBUG", "Sip::MsgType:_initialize('%s', '%s...')", - $self->{name}, substr($msg, 0, 20)); + syslog("LOG_DEBUG", "Sip::MsgType::_initialize('%s', '%s...')", $self->{name}, substr($msg,0,20)); + foreach my $field (@{$proto->{fields}}) { - $self->{fields}->{$field} = undef; + $self->{fields}->{$field} = undef; } syslog("LOG_DEBUG", -- 2.11.0