resend: typo fix for smsc_http

adi <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Seems that my previous message going nowhere :-)
Enclosed is the patch for fixing typo in smsc_http,
and make it more conformant with new smsbox.c.

Regards,

P.Y. Adi Prasaja
smsc_http.diff (text/plain, 921 B)
Index: gw/smsc/smsc_http.c
===================================================================
RCS file: /home/cvs/gateway/gw/smsc/smsc_http.c,v
retrieving revision 1.26
diff -a -u -r1.26 smsc_http.c
--- gw/smsc/smsc_http.c	7 Aug 2003 12:27:20 -0000	1.26
+++ gw/smsc/smsc_http.c	13 Oct 2003 02:49:41 -0000
@@ -303,10 +303,10 @@
 	octstr_format_append(url, "&smsc=%S", sms->sms.smsc_id);
     if (sms->sms.dlr_url) {
         octstr_url_encode(sms->sms.dlr_url);
-        octstr_format_append(url, "&dlrurl=%S", sms->sms.dlr_url);
+        octstr_format_append(url, "&dlr-url=%S", sms->sms.dlr_url);
     }
     if (sms->sms.dlr_mask != DLR_UNDEFINED && sms->sms.dlr_mask != DLR_NOTHING)
-        octstr_format_append(url, "&drlmask=%d", sms->sms.dlr_mask);
+        octstr_format_append(url, "&dlr-mask=%d", sms->sms.dlr_mask);
 
     headers = list_create();
     debug("smsc.http.kannel", 0, "HTTP[%s]: Start request",
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.