From acf84a7eb4c3aeff106db2ba9c1478dce3f0ac53 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 8 Nov 2017 17:28:01 +0100 Subject: [PATCH] TT#24097 Use semicolon instead of colons for end of statement Change-Id: Iebad9ae973f5e6ddd9712635c21d6137536c0d92 --- tests/simulator-ng.pl | 2 +- utils/kernel-intercept-dump.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/simulator-ng.pl b/tests/simulator-ng.pl index 7288a66f6..11adef966 100755 --- a/tests/simulator-ng.pl +++ b/tests/simulator-ng.pl @@ -676,7 +676,7 @@ SDP rand() > .5 and $$dict{'to-tag'} = $$B{tag}; } elsif ($op eq 'answer') { - $dict->{'from-tag'} = $$B{tag}, + $dict->{'from-tag'} = $$B{tag}; $dict->{'to-tag'} = $$A{tag}; } if (!$LAZY diff --git a/utils/kernel-intercept-dump.pl b/utils/kernel-intercept-dump.pl index 5a951a93d..c5142fd06 100755 --- a/utils/kernel-intercept-dump.pl +++ b/utils/kernel-intercept-dump.pl @@ -187,12 +187,12 @@ sub setup { if ($COMBINE == 0) { $callbacks{stream_setup} = \&stream_pcap; $callbacks{stream_close} = \&stream_pcap_close; - $callbacks{packet} = \&stream_packet, + $callbacks{packet} = \&stream_packet; } elsif ($COMBINE == 1) { $callbacks{call_setup} = \&call_pcap; $callbacks{call_close} = \&call_pcap_close; - $callbacks{packet} = \&call_packet, + $callbacks{packet} = \&call_packet; } } sub cb {