Skip to content

Commit

Permalink
support AMQP 0.9 spec, with dashes in field names
Browse files Browse the repository at this point in the history
  • Loading branch information
Chip Salzenberg committed Sep 9, 2012
1 parent 8f06506 commit bb43c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Net/AMQP/Protocol.pm
Expand Up @@ -196,7 +196,7 @@ sub _build_class {
}

my $local_name = $field_spec->{name};
$local_name =~ s{ }{_}g;
$local_name =~ tr{ -}{_};

push @frame_arguments, $local_name, $local_type;
}
Expand Down

0 comments on commit bb43c3a

Please sign in to comment.