[FIX] BROKEN DLR with Mysql with intermediate state

Vincent CHAVANIS <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization TELEMAQUE
Message-ID <[email protected]>
Dear all,

Here is a small patch that fixes intermediate DLR state
for all SMSCs using MySQL.

Vincent.


-- 
Telemaque - 06560 SOPHIA-ANTIPOLIS - (FR)
Service Technique/Reseau - NOC
Direction du Developpement xMS+
http://www.telemaque.fr/
[email protected]
Tel : +33 4 92 90 99 84 (fax 9142)
dlr_fix_mysql.txt (text/plain, 471 B)
diff -rauw -x CVS -x '*.svn' -x '*.cvsignore' /gateway-cvs/gw/dlr_mysql.c /gateway/gw/dlr_mysql.c
--- /gateway-cvs/gw/dlr_mysql.c 2010-10-07 16:26:11.235266067 +0200
+++ /gateway/gw/dlr_mysql.c     2010-10-11 18:29:20.546740527 +0200
@@ -274,7 +274,7 @@
     gwlist_append(binds, (Octstr *)smsc);
     gwlist_append(binds, (Octstr *)ts);
     if (dst)
-        gwlist_append(binds, (Octstr *)like);
+        gwlist_append(binds, (Octstr *)dst);
 
 #if defined(DLR_TRACE)
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.