mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
log checksum of messages into smsproto
This commit is contained in:
parent
c45c9cd809
commit
669acdcd19
1 changed files with 8 additions and 2 deletions
|
@ -164,7 +164,14 @@ smsproto_prepOutbound( SMSProto* state, const XP_U8* buf,
|
|||
XP_Bool forceOld, XP_U16* waitSecsP )
|
||||
{
|
||||
SMSMsgArray* result = NULL;
|
||||
XP_LOGF( "%s(): len=%d, toPhone=%s", __func__, buflen, toPhone );
|
||||
|
||||
#ifdef DEBUG
|
||||
XP_UCHAR* checksum = dutil_md5sum( state->dutil, buf, buflen );
|
||||
XP_LOGF( "%s(): len=%d, sum=%s, toPhone=%s", __func__, buflen,
|
||||
checksum, toPhone );
|
||||
XP_FREEP( state->mpool, &checksum );
|
||||
#endif
|
||||
|
||||
checkThread( state );
|
||||
ToPhoneRec* rec = getForPhone( state, toPhone, !!buf );
|
||||
|
||||
|
@ -606,7 +613,6 @@ completeMsgs( SMSProto* state, SMSMsgArray* arr, const XP_UCHAR* fromPhone,
|
|||
static SMSMsgArray*
|
||||
toMsgs( SMSProto* state, ToPhoneRec* rec, XP_Bool forceOld )
|
||||
{
|
||||
LOG_FUNC();
|
||||
SMSMsgArray* result = NULL;
|
||||
|
||||
for ( XP_U16 ii = 0; ii < rec->nMsgs; ) {
|
||||
|
|
Loading…
Reference in a new issue