Re: EMI Driver Bug

[email protected]
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hello!

this patch helps me:

--- smsc_emi2.c.orig    Wed Nov 13 15:06:39 2002
+++ smsc_emi2.c Wed Nov 13 15:08:25 2002
@@ -976,7 +976,7 @@ static int emi2_handle_smscreq (SMSCConn
                  * Recode the msg structure with the given msgdata.
                  * Note: the DLR URL is delivered in msg->sms.dlr_url
already.
                  */
-                dlrmsg->sms.msgdata =
octstr_duplicate(emimsg->fields[E50_AMSG]);
+               dlrmsg->sms.msgdata = octstr_create("");
                 octstr_hex_to_binary(dlrmsg->sms.msgdata);
                 dlrmsg->sms.sms_type = report;



with best wishes
 German Aksenov
phone: (095)258-7258 ext. 7836
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.