gnokii-commit
[Top][All Lists]
Advanced

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

gnokii ChangeLog gnokii/gnokii.c


From: Pawel Kot
Subject: gnokii ChangeLog gnokii/gnokii.c
Date: Sat, 17 Jun 2006 20:41:39 +0000

CVSROOT:        /cvsroot/gnokii
Module name:    gnokii
Changes by:     Pawel Kot <pkot>        06/06/17 20:41:39

Modified files:
        .              : ChangeLog 
        gnokii         : gnokii.c 

Log message:
        Exit the loop on timeout with gnokii --getphonebook

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnokii/ChangeLog?cvsroot=gnokii&r1=1.1200&r2=1.1201
http://cvs.savannah.gnu.org/viewcvs/gnokii/gnokii/gnokii.c?cvsroot=gnokii&r1=1.453&r2=1.454

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnokii/gnokii/ChangeLog,v
retrieving revision 1.1200
retrieving revision 1.1201
diff -u -b -r1.1200 -r1.1201
--- ChangeLog   17 Jun 2006 20:33:05 -0000      1.1200
+++ ChangeLog   17 Jun 2006 20:41:38 -0000      1.1201
@@ -110,6 +110,7 @@
  * gnokii updates
     o make --setlogo exit with a valid error code after all errors
                                                     (Daniele Forsi)
+    o exit the loop for getphonebook on timeout         (Pawel Kot)
  * build environment updates
     o add checks for -Wno-pointer-sign and -fvisibility=hidden,
       add usage of __attribute__((deprecated)        (Helge Deller)

Index: gnokii/gnokii.c
===================================================================
RCS file: /cvsroot/gnokii/gnokii/gnokii/gnokii.c,v
retrieving revision 1.453
retrieving revision 1.454
diff -u -b -r1.453 -r1.454
--- gnokii/gnokii.c     23 May 2006 20:00:06 -0000      1.453
+++ gnokii/gnokii.c     17 Jun 2006 20:41:38 -0000      1.454
@@ -1,6 +1,6 @@
 /*
 
-  $Id: gnokii.c,v 1.453 2006/05/23 20:00:06 deller Exp $
+  $Id: gnokii.c,v 1.454 2006/06/17 20:41:38 pkot Exp $
 
   G N O K I I
 
@@ -3456,6 +3456,9 @@
                                fprintf(stderr, _("Error reading from the 
location %d in memory %s\n"), count, memory_type_string);
                        }
                        break;
+               case GN_ERR_TIMEOUT:
+                       /* On timeout just exit the loop */
+                       num_entries = 0;
                default:
                        fprintf(stderr, _("Error: %s\n"), 
gn_error_print(error));
                        break;




reply via email to

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