gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-36


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-361-ga281d88
Date: Fri, 24 Feb 2012 21:46:08 +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  a281d8873e2a7f25e41937d1fff8019ba3e475dd (commit)
      from  a3c085567e1e9894ec6a55cdd3a0460c8b884fcc (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=a281d8873e2a7f25e41937d1fff8019ba3e475dd


commit a281d8873e2a7f25e41937d1fff8019ba3e475dd
Author: Daniele Forsi <address@hidden>
Date:   Fri Feb 24 22:39:23 2012 +0100

    Parse also the seconds field when a phonebook subentry contains a date
    
    Tested on early nk6510 (Nokia 8310) and on S40 3rd (Nokia 5300).

diff --git a/common/nokia-decoding.c b/common/nokia-decoding.c
index 5e5b6e4..69935aa 100644
--- a/common/nokia-decoding.c
+++ b/common/nokia-decoding.c
@@ -253,7 +253,7 @@ gn_error phonebook_decode(unsigned char *blockstart, int 
length, gn_data *data,
                        subentry->data.date.day    = blockstart[9];
                        subentry->data.date.hour   = blockstart[10];
                        subentry->data.date.minute = blockstart[11];
-                       subentry->data.date.second = 0;
+                       subentry->data.date.second = blockstart[12];
                        dprintf("   Date: %04u.%02u.%02u\n", 
subentry->data.date.year,
                                subentry->data.date.month, 
subentry->data.date.day);
                        dprintf("   Time: %02u:%02u:%02u\n", 
subentry->data.date.hour,

-----------------------------------------------------------------------

Summary of changes:
 common/nokia-decoding.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]