git://git.jankratochvil.net
/
gsmperl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9efed94
)
Fixed $cfg->userdata==0 case
author
short
<>
Mon, 29 Apr 2002 18:16:37 +0000
(18:16 +0000)
committer
short
<>
Mon, 29 Apr 2002 18:16:37 +0000
(18:16 +0000)
- bugreported by Pavel Machek
GSM/SMS/Transport/Print.pm
patch
|
blob
|
history
diff --git
a/GSM/SMS/Transport/Print.pm
b/GSM/SMS/Transport/Print.pm
index
9ac6b8c
..
c687c2b
100644
(file)
--- a/
GSM/SMS/Transport/Print.pm
+++ b/
GSM/SMS/Transport/Print.pm
@@
-23,8
+23,8
@@
my @config_vars = qw(
sub send {
my ($self, $msisdn, $pdu) = @_;
- print "$msisdn:" if !$self->{"cfg"}{"nomsisdn"};
-
print "$pdu\n",return 0
if !$self->{"cfg"}{"userdata"};
+ print "$msisdn:"
if !$self->{"cfg"}{"nomsisdn"};
+
do { print "$pdu\n"; return 0; }
if !$self->{"cfg"}{"userdata"};
$pdu=pack "H*",$pdu; #unhex
$pdu=substr($pdu,0