summaryrefslogtreecommitdiffstats
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-19 21:00:31 +0200
committerVolker Lendecke <vl@samba.org>2010-08-01 18:11:06 +0200
commit0213cfa6af19fe1267662af802f42b8c0ce7194c (patch)
tree4a7a3cdf4e89fb15ba69c8ceaa57ffd6fed93d2f /source3/torture
parent9bf2d260aa584f4cc8daa4228e71049ee2524ad3 (diff)
downloadsamba-0213cfa6af19fe1267662af802f42b8c0ce7194c.tar.gz
samba-0213cfa6af19fe1267662af802f42b8c0ce7194c.tar.xz
samba-0213cfa6af19fe1267662af802f42b8c0ce7194c.zip
s3: Fix some nonempty blank lines
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/msgtest.c16
1 files changed, 8 insertions, 8 deletions
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 <http://www.gnu.org/licenses/>.
*/
@@ -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));
}