[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-10
From: |
Pawel Kot |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-10-gcf56799 |
Date: |
Sun, 09 May 2010 18:11:44 +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 cf56799a4206f0fa87d561d47b58a5f101ccfd7a (commit)
from 5aa08222fd3e2d1999937d0c1e0c68eb4fa2d8a5 (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=cf56799a4206f0fa87d561d47b58a5f101ccfd7a
commit cf56799a4206f0fa87d561d47b58a5f101ccfd7a
Author: Pawel Kot <address@hidden>
Date: Sun May 9 11:10:51 2010 -0700
Fix parsing SMS date for saved messages.
Fixes #29830.
diff --git a/ChangeLog b/ChangeLog
index a178d20..30cf44d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
o fix printing BDAY for phonebook entries in vCard format and
add label for PTT Address (X-SIP;POC) and User ID (X-WV-ID)
(Daniele Forsi)
+ * nk6510 driver updates
+ o fix parsing SMS date from saved messages, bug #29830
+ (PaweÅ Kot)
0.6.29
======
diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 02e9d88..bf3ba7c 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -915,7 +915,7 @@ static void ParseLayout(unsigned char *message, gn_data
*data)
case 0x84: /* Time blocks (not BCD encoded) */
/* Make it BCD format then ;-) */
/* This is an ugly hack. Dunno how to do it correctly
for now */
- data->raw_sms->smsc_time[0] = ((block[3] & 0x0f) % 10)
<< 4;
+ data->raw_sms->smsc_time[0] = ((block[3] & 0x0f) / 10)
+ (((block[3] & 0x0f) % 10) << 4);
for (j = 1; j < block[2]; j++) {
data->raw_sms->smsc_time[j] =
(block[j+3] / 10) + ((block[j+3] % 10)
<< 4);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
common/phones/nk6510.c | 2 +-
2 files changed, 4 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-10-gcf56799,
Pawel Kot <=