[Pkg-voip-commits] [dahdi-tools] 202/285: dahdi_cfg: minor: Rename fo_real to dry_run

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:18:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit df477219627f9f79594fe1b9b00f97ed2998c709
Author: Russ Meyerriecks <rmeyerriecks at digium.com>
Date:   Tue Jul 22 16:24:26 2014 -0500

    dahdi_cfg: minor: Rename fo_real to dry_run
    
    Minor readability change
    
    Signed-off-by: Russ Meyerriecks <rmeyerriecks at digium.com>
    Acked-by: Shaun Ruffell <sruffell at digium.com>
---
 dahdi_cfg.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dahdi_cfg.c b/dahdi_cfg.c
index c8369db..432675e 100644
--- a/dahdi_cfg.c
+++ b/dahdi_cfg.c
@@ -109,7 +109,7 @@ static int fiftysixkhdlc[DAHDI_MAX_CHANNELS];
 
 static int spans=0;
 
-static int fo_real = 1;
+static int dry_run = 0;
 
 static int verbose = 0;
 
@@ -1590,7 +1590,7 @@ int main(int argc, char *argv[])
 			force++;
 			break;
 		case 't':
-			fo_real = 0;
+			dry_run = 1;
 			break;
 		case 's':
 			stopmode = 1;
@@ -1683,9 +1683,9 @@ finish:
 	if (verbose) {
 		printconfig(fd);
 	}
-	if (!fo_real) 
-		exit(0);
 
+	if (dry_run)
+		exit(0);
 	
 	if (debug & DEBUG_APPLY) {
 		printf("About to open Master device\n");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list