gnokii-commit
[Top][All Lists]
Advanced

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

[SCM] Additional programs and language bindings branch, master, updated.


From: Daniele Forsi
Subject: [SCM] Additional programs and language bindings branch, master, updated. 251a7ad40b7c10531819d544868cfe7fcdaa2251
Date: Fri, 12 Feb 2010 16:10:09 +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 "Additional programs and language bindings".

The branch, master has been updated
       via  251a7ad40b7c10531819d544868cfe7fcdaa2251 (commit)
      from  0c7f104a1fc0bc0eb9ec15a4f7529a2638f9eea2 (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/gnokii-extras.git/commit/?id=251a7ad40b7c10531819d544868cfe7fcdaa2251


commit 251a7ad40b7c10531819d544868cfe7fcdaa2251
Author: Daniele Forsi <address@hidden>
Date:   Sun Dec 27 12:21:01 2009 +0100

    Location 0 is valid only for some phones so ignore the error when it is 
invalid

diff --git a/snippets/ChangeLog b/snippets/ChangeLog
index 6781ac5..ead5906 100644
--- a/snippets/ChangeLog
+++ b/snippets/ChangeLog
@@ -1,6 +1,8 @@
 2009/12/24
  * mms/
     o add mms_convert to convert between MMS formats         (Daniele Forsi)
+ * misc/
+    o fix events.c                                           (Daniele Forsi)
 
 2009/12/15
  * other/
diff --git a/snippets/misc/events.c b/snippets/misc/events.c
index 2456724..a3665f9 100644
--- a/snippets/misc/events.c
+++ b/snippets/misc/events.c
@@ -151,7 +151,7 @@ int main(int argc, char *argv[]) {
                                if (!pb_entry.empty) {
                                        gn_file_phonebook_raw_write(stdout, 
&pb_entry, "DC");
                                }
-                       } else if ((error == GN_ERR_EMPTYLOCATION) || (error == 
GN_ERR_INVALIDLOCATION)) {
+                       } else if (error == GN_ERR_EMPTYLOCATION || (error == 
GN_ERR_INVALIDLOCATION && pb_entry.location > 0)) {
                                break;
                        } else {
                                my_perror("dump_dialled_calls", error);
@@ -169,7 +169,7 @@ int main(int argc, char *argv[]) {
                                if (!pb_entry.empty) {
                                        gn_file_phonebook_raw_write(stdout, 
&pb_entry, "MC");
                                }
-                       } else if ((error == GN_ERR_EMPTYLOCATION) || (error == 
GN_ERR_INVALIDLOCATION)) {
+                       } else if (error == GN_ERR_EMPTYLOCATION || (error == 
GN_ERR_INVALIDLOCATION && pb_entry.location > 0)) {
                                break;
                        } else {
                                my_perror("dump_missed_calls", error);
@@ -187,7 +187,7 @@ int main(int argc, char *argv[]) {
                                if (!pb_entry.empty) {
                                        gn_file_phonebook_raw_write(stdout, 
&pb_entry, "RC");
                                }
-                       } else if ((error == GN_ERR_EMPTYLOCATION) || (error == 
GN_ERR_INVALIDLOCATION)) {
+                       } else if (error == GN_ERR_EMPTYLOCATION || (error == 
GN_ERR_INVALIDLOCATION && pb_entry.location > 0)) {
                                break;
                        } else {
                                my_perror("dump_received_calls", error);

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

Summary of changes:
 snippets/ChangeLog     |    2 ++
 snippets/misc/events.c |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Additional programs and language bindings




reply via email to

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