[PATCH] BUG #33 from Mantis

Vjacheslav Chekushin <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization LMT
Message-ID <[email protected]>
Hi, list

BUG #33 can be closed, applying followng patch:
I think it is clear that we must not send NULL value to wap-appl thread.
(NULL value will destroy apllication thread)


--- ../devel_1.2.1_base/wap/wsp_unit.c  Thu Jan  2 12:04:16 2003
+++ wap/wsp_unit.c      Thu Jan  2 14:37:12 2003
@@ -166,6 +166,7 @@
                 switch (e->type) {
                 case T_DUnitdata_Ind:
                         newevent = unpack_datagram(e);
+                       if (newevent != NULL)
                         dispatch_to_appl(newevent);
                         break;

-- 
Vjacheslav Chekushin                                mailto:[email protected]
Latvian Mobile Phone Company                        http://www.lmt.lv
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.