[PATCH] minor fixes - more dlr info - typo

"Vincent CHAVANIS" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <005a01c852ad$0fab8d20$9600a8c0@VINCE>
A really minor fix,

- This will now log which SMSC 
is using when DLR is not found (really needed on some multiple SMSC link)
- Fix a typo.

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)
dlrlog_typo.txt (text/plain, 1.1 KB)
diff -rauw /gateway-cvs/gw/dlr.c /gateway/gw/dlr.c
--- /gateway-cvs/gw/dlr.c       2007-09-27 17:34:35.000000000 +0200
+++ /gateway/gw/dlr.c   2007-12-05 17:55:10.000000000 +0100
@@ -374,8 +374,8 @@
 
     dlr = handles->dlr_get(smsc, ts, dst);
     if (dlr == NULL)  {
-        warning(0, "DLR[%s]: DLR for DST<%s> not found.",
-                      dlr_type(), octstr_get_cstr(dst));
+        warning(0, "DLR[%s]: DLR from SMSC<%s> for DST<%s> not found.",
+                      dlr_type(),  octstr_get_cstr(smsc), octstr_get_cstr(dst));
         return NULL;
     }

diff -rauw /gateway-cvs/gw/wap_push_pap_compiler.c /gateway/gw/wap_push_pap_compiler.c
--- /gateway-cvs/gw/wap_push_pap_compiler.c     2007-01-08 00:52:58.000000000 +0100
+++ /gateway/gw/wap_push_pap_compiler.c 2007-12-12 11:58:16.000000000 +0100
@@ -477,7 +477,7 @@
 }
 
 /*
- * We actually use address_type field of a wap event for cotrolling the bearer
+ * We actually use address_type field of a wap event for controlling the bearer
  * selection. Bearer and network filed are used for debugging purposes.
  */
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.