[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-39
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-395-gfb03361 |
Date: |
Tue, 27 Mar 2012 13:58:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".
The branch, master has been updated
via fb033615ef125ae73d7cb52c2b6d6523276ab297 (commit)
from 3bea18cbcfbdc8d5a8858974f124557d10bec6b4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=fb033615ef125ae73d7cb52c2b6d6523276ab297
commit fb033615ef125ae73d7cb52c2b6d6523276ab297
Author: Daniele Forsi <address@hidden>
Date: Tue Mar 27 15:56:58 2012 +0200
Print Data Coding Scheme value in debug output when decoding
Not when encoding.
diff --git a/common/gsm-sms.c b/common/gsm-sms.c
index 9531a69..77ab16d 100644
--- a/common/gsm-sms.c
+++ b/common/gsm-sms.c
@@ -636,6 +636,7 @@ static gn_error sms_header_decode(gn_sms_raw *rawsms,
gn_sms *sms, gn_sms_udh *u
/* Data Coding Scheme */
sms->dcs.type = rawsms->dcs;
+ dprintf("Data Coding Scheme 0x%02x\n", sms->dcs.type);
/* User Data Header */
if (rawsms->udh_indicator & 0x40) { /* UDH header available */
@@ -1371,7 +1372,6 @@ static gn_error sms_data_encode(gn_sms *sms, gn_sms_raw
*rawsms)
dprintf("Data Coding Scheme type 0x%02x isn't supported\n",
sms->dcs.type);
return GN_ERR_WRONGDATAFORMAT;
}
- dprintf("Data Coding Scheme 0x%02x\n", sms->dcs.type);
for (i = 0; i < GN_SMS_PART_MAX_NUMBER; i++) {
switch (sms->user_data[i].type) {
-----------------------------------------------------------------------
Summary of changes:
common/gsm-sms.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-395-gfb03361,
Daniele Forsi <=