From 0213cfa6af19fe1267662af802f42b8c0ce7194c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 19 Jul 2010 21:00:31 +0200 Subject: s3: Fix some nonempty blank lines --- source3/torture/msgtest.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source3/torture/msgtest.c') diff --git a/source3/torture/msgtest.c b/source3/torture/msgtest.c index dffc98775d..104b171e64 100644 --- a/source3/torture/msgtest.c +++ b/source3/torture/msgtest.c @@ -1,17 +1,17 @@ /* Unix SMB/CIFS implementation. Copyright (C) Andrew Tridgell 2000 - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -50,7 +50,7 @@ static void pong_message(struct messaging_context *msg_ctx, load_case_tables(); setup_logging(argv[0],True); - + lp_load(get_dyn_CONFIGFILE(),False,False,False,True); if (!(evt_ctx = tevent_context_init(NULL)) || @@ -58,7 +58,7 @@ static void pong_message(struct messaging_context *msg_ctx, fprintf(stderr, "could not init messaging context\n"); exit(1); } - + if (argc != 3) { fprintf(stderr, "%s: Usage - %s pid count\n", argv[0], argv[0]); @@ -133,7 +133,7 @@ static void pong_message(struct messaging_context *msg_ctx, } } } - + printf("waiting for %d remaining replies (done %d)\n", (int)(ping_count - pong_count), pong_count); while (timeval_elapsed(&tv) < 30 && pong_count < ping_count) { @@ -142,12 +142,12 @@ static void pong_message(struct messaging_context *msg_ctx, break; } } - + if (ping_count != pong_count) { fprintf(stderr, "ping test failed! received %d, sent " "%d\n", pong_count, (int)ping_count); } - + printf("ping rate of %.0f messages/sec\n", (ping_count+pong_count)/timeval_elapsed(&tv)); } -- cgit