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-40


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-403-g13cbcf3
Date: Fri, 27 Apr 2012 16:12:50 +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  13cbcf3eec7cfa168cbabd0d0f12494635307ac6 (commit)
      from  f9ea5e1e7d99f0f92e0515caa9e04dc6456f6d52 (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=13cbcf3eec7cfa168cbabd0d0f12494635307ac6


commit 13cbcf3eec7cfa168cbabd0d0f12494635307ac6
Author: Daniele Forsi <address@hidden>
Date:   Fri Apr 27 17:20:17 2012 +0200

    Make gn_sm_loop() just exit if there is no loop function
    
    This makes it possible to use the fake driver with gnome-phone-manager.

diff --git a/ChangeLog b/ChangeLog
index 326f8c8..4aafa08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,7 @@
     o implement GN_OP_Ping operation                    (Paweł Kot)
  * fake driver updates
     o always autodetect if PDU SMS starts with SMSC (Daniele Forsi)
+    o make it usable with gnome-phone-manager       (Daniele Forsi)
  * Documentation updates
     o samples for connect and disconnect scripts for Portech
       devices                                   (Guillermo Benitez)
diff --git a/common/gsm-statemachine.c b/common/gsm-statemachine.c
index 3c15efd..a79dc6c 100644
--- a/common/gsm-statemachine.c
+++ b/common/gsm-statemachine.c
@@ -53,10 +53,9 @@ GNOKII_API gn_state gn_sm_loop(int timeout, struct 
gn_statemachine *state)
        struct timeval loop_timeout;
        int i;
 
-       if (!state->link.loop) {
-               dprintf("No Loop function. Aborting.\n");
-               abort();
-       }
+       if (!state->link.loop)
+               return state->current_state;
+
        for (i = 0; i < timeout; i++) {
                /*
                 * Some select() implementation (e.g. Linux) will modify the

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

Summary of changes:
 ChangeLog                 |    1 +
 common/gsm-statemachine.c |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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