[BUG] comparison instead of assignment in dlr.c line 507

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi list.
 
The patch says it all, I think.
 
--
Oded Arbel
m-Wise mobile solutions
[email protected]
 
+972-9-9581711 (116)
+972-67-340014
 
::..
"Grove giveth and Gates taketh away."
 -- Bob Metcalfe (inventor of Ethernet)
  on the trend of hardware speedups not being able to keep up with software demands
dlr.patch (application/octet-stream, 518 B)
--- gateway/gw/dlr.c	2002-09-04 20:42:56.000000000 +0300
+++ gateway/gw/dlr.c	2002-09-05 11:58:24.000000000 +0300
@@ -504,7 +504,7 @@
             if ((typ & dlr_mask) > 0) {
                 /* its an entry we are interested in */
                 msg = msg_create(sms);
-                msg->sms.sms_type == report;
+                msg->sms.sms_type = report;
                 msg->sms.service = octstr_duplicate(dlr->service);
                 msg->sms.dlr_mask = typ;
                 msg->sms.sms_type = report;
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.