Requesting the /status page...

"Rene Kluwen / Chimit Software Solutions" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <006501c2708f$52284400$1401a8c0@helena>
...will crash kannel if no smsc-id is set in group = smsc.

Attached is a patch to fix the problem.

-- Rene...

--------
This email message has been automatically scanned for viri using Sophos antivirus.
--------
missing_smsc_conn_id.patch (application/octet-stream, 570 B)
Index: gw/bb_smscconn.c
===================================================================
RCS file: /home/cvs/gateway/gw/bb_smscconn.c,v
retrieving revision 1.52
diff -u -r1.52 bb_smscconn.c
--- gw/bb_smscconn.c	6 Sep 2002 12:05:50 -0000	1.52
+++ gw/bb_smscconn.c	10 Oct 2002 18:54:02 -0000
@@ -582,6 +582,7 @@
         }
 
         conn_id = conn ? smscconn_id(conn) : octstr_imm("unknown");
+	conn_id = conn_id ? conn_id : octstr_imm("unknown");
         conn_name = conn ? smscconn_name(conn) : octstr_imm("unknown");
 
         if (status_type == BBSTATUS_HTML) {
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.