[PATCH] Typo in smsc_smpp.c

"Tom Sommer" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Nasty typo that's been there for years

Basically BUFFRED -> BUFFERD

Patch attached

// Tom Sommer
smpp.patch.txt (text/plain, 660 B)
--- org/kannel-snapshot/gw/smsc/smsc_smpp.c     2006-05-15 20:24:40.000000000 +0200
+++ kannel-snapshot/gw/smsc/smsc_smpp.c 2006-05-29 14:28:17.000000000 +0200
@@ -1231,7 +1231,7 @@
             dlrstat = DLR_SUCCESS;
         else if (stat != NULL && (octstr_compare(stat, octstr_imm("ACCEPTD")) == 0 ||
                         octstr_compare(stat, octstr_imm("ACKED")) == 0 ||
-                        octstr_compare(stat, octstr_imm("BUFFRED")) == 0 ||
+                        octstr_compare(stat, octstr_imm("BUFFERD")) == 0 ||
                         octstr_compare(stat, octstr_imm("ENROUTE")) == 0))
             dlrstat = DLR_BUFFERED;
         else
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.