Hi again,
Is this project sleeping?
The fix is VERY easy.
Does it help if I send a patched file?
/Roland
----------------------------
Hi,
When I look at the web link for this ticket it looks rather empty.
I dont know your routines. So I kindly ask. Whats going to happen now?
The fix is very easy - I already use a fixed version on my machine.
/Roland
Show quoted text----- Original Message -----
From: "Bugs in Net-UCP via RT" <bug-Net-UCP@rt.cpan.org>
To: "roland karlsson" <roland.karlsson@erlang-solutions.com>
Sent: Thursday, May 6, 2010 2:00:35 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: [rt.cpan.org #57258] AutoReply: Bug in Net::UCP 0.41
Greetings,
This message has been automatically generated in response to the
creation of a trouble ticket regarding:
"Bug in Net::UCP 0.41",
a summary of which appears below.
There is no need to reply to this message right now. Your ticket has been
assigned an ID of [rt.cpan.org #57258]. Your ticket is accessible
on the web at:
https://rt.cpan.org/Ticket/Display.html?id=57258
Please include the string:
[rt.cpan.org #57258]
in the subject line of all future correspondence about this issue. To do so,
you may reply to this message.
Thank you,
bug-Net-UCP@rt.cpan.org
-------------------------------------------------------------------------
Hi,
I have found a bug in Net::UCP 0.41
In the file UCP.pm in the function "sub parse_message"
there is a line that looks like this:
if (my($optype) = $resp =~ m{^\d{2}/\d{5}/.*?/(01|02|03|30|51|52|53|54|55|56|57|58|60|61)/.*}) {
In the list of operation codes, the number 31 is missing.
Therefore - operation 31 is not parsed.
I have tested - if you add 31 there - it works.
/Roland
PS. I have used your library as a test SMSC. Can send you the code if you wish.
---------------------------------------------------
---------------------------------------------------
WE'VE CHANGED NAMES!
Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.
www.erlang-solutions.com