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


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-549-g13c1ff0
Date: Wed, 08 Jan 2014 08:49: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  13c1ff07d18d747a351937e9d3413c735a49ccd3 (commit)
      from  ad7a41d6774d1a44c824fe47bf6155a187859818 (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=13c1ff07d18d747a351937e9d3413c735a49ccd3


commit 13c1ff07d18d747a351937e9d3413c735a49ccd3
Author: Daniele Forsi <address@hidden>
Date:   Wed Jan 8 09:46:11 2014 +0100

    Make foogle() depend on "#ifdef DEBUG" instead of "#ifndef WIN32"
    
    It's a debugging tool (currently empty) that doesn't depend on a
    specific platform.

diff --git a/gnokii/gnokii.c b/gnokii/gnokii.c
index 699e12f..3ebab22 100644
--- a/gnokii/gnokii.c
+++ b/gnokii/gnokii.c
@@ -440,7 +440,7 @@ static int checkargs(int opt, struct gnokii_arg_len gals[], 
int argc, int has_ar
 
 /* This is a "convenience" function to allow quick test of new API stuff which
    doesn't warrant a "proper" command line function. */
-#ifndef WIN32
+#ifdef DEBUG
 static int foogle(int argc, char *argv[])
 {
        /* Fill in what you would like to test here... */
@@ -1124,7 +1124,7 @@ static int parse_options(int argc, char *argv[])
        case OPT_PING:
                rc = ping(data, state);
                break;
-#ifndef WIN32
+#ifdef DEBUG
        case OPT_FOOGLE:
                rc = foogle(argc, argv);
                break;

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

Summary of changes:
 gnokii/gnokii.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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