[PATCH] More DLR_FAIL codes in cimd2

"Arne K. Haaje" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Eurobate ASA
Message-ID <[email protected]>
I have attached a small patch that adds a few more codes that should 
return DLR_FAIL for the CIMD2 protocol.

-- 
Med vennlig hilsen,
Eurobate ASA

Arne K. Haaje
Senior Network Engineer
--------------------------------------------------------------------
    Eurobate ASA - Postboks 4589 Nydalen - 0404 Oslo - Norway
Phone: +47 23 22 73 73 - Fax: +47 23 22 73 74 - Mob: +47 92 88 44 66
                    http://www.eurobate.no/
smsc_cimd2.c.diff (text/x-diff, 469 B)
--- /tmp/kannel-snapshot/gw/smsc/smsc_cimd2.c	2004-02-16 20:46:55.000000000 +0100
+++ smsc_cimd2.c	2004-03-10 13:58:06.000000000 +0100
@@ -2088,6 +2088,10 @@
     {
     case 2:  /* validity period expired */
     case 3:  /* delivery failed */
+    case 6: /* last no response */
+    case 7: /* message cancelled */
+    case 8: /* message deleted */
+    case 9: /* message deleted by cancel */
 	code = DLR_FAIL;
     	break;
     case 4: /* delivery successful */
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.