[PATCH] smpp (sequence_id start with 1)
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Centrium GmbH |
| Message-ID | <[email protected]> |
Hi All, here is small bugfix. -- Mit besten Grüßen aus Köln Dipl.-Ing. Alexander Malysh ___________________________________________ Centrium GmbH Ehrenstraße 2 50672 Köln Fon: +49 (0221) 277 49 150 Fax: +49 (0221) 277 49 109 email: [email protected] web: www.centrium.de
smpp.diff
(text/x-diff, 760 B)
? doc/alligata/alligata.tmp
Index: gw/smsc/smsc_smpp.c
===================================================================
RCS file: /home/cvs/gateway/gw/smsc/smsc_smpp.c,v
retrieving revision 1.14
diff -a -u -r1.14 smsc_smpp.c
--- gw/smsc/smsc_smpp.c 17 Oct 2002 08:28:10 -0000 1.14
+++ gw/smsc/smsc_smpp.c 24 Oct 2002 10:59:00 -0000
@@ -127,6 +127,8 @@
list_add_producer(smpp->msgs_to_send);
smpp->received_msgs = list_create();
smpp->message_id_counter = counter_create();
+ /* increase counter, because sequence_id start with 1 !!! */
+ counter_increase(smpp->message_id_counter);
smpp->host = octstr_duplicate(host);
smpp->system_type = octstr_duplicate(system_type);
smpp->username = octstr_duplicate(username);