RV: [PATCH] smsc_smpp.c does not timestamp MO messages

"Angel Fradejas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Oops, I missed something.... the patch itself.....

Sorry.

-----Mensaje original-----
De: Angel Fradejas [mailto:[email protected]]
Enviado el: martes 29 de enero de 2002 11:08
Para: Kannel Developers
Asunto: [PATCH] smsc_smpp.c does not timestamp MO messages


Hi list,

I noticed that MO messages do not get timestamped by SMPP driver. The fix is
trivial. You can confirm it using %t token on a get-url directive.

Stipe, please, what about a commit for this? :-) Seriously, let be know if
I'm missing something.

Thanks for your time.

Angel Fradejas.
patch_smpp_mo_timestamp.diff (application/octet-stream, 381 B)
--- cvs/smsc_smpp.c	Mon Jan 28 15:12:13 2002
+++ patch/smsc_smpp.c	Tue Jan 29 10:00:54 2002
@@ -495,6 +495,7 @@
  	{
         /* ensure the smsc-id is set */
         msg = pdu_to_msg(pdu);
+        time(&msg->sms.time);
         msg->sms.smsc_id = octstr_duplicate(smpp->conn->id);
 	    (void) bb_smscconn_receive(smpp->conn, msg);
 	    resp = smpp_pdu_create(deliver_sm_resp,
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.