From: Mark Andrews Date: Mon, 28 Mar 2011 05:11:43 +0000 (+0000) Subject: while (1) -> for (;;) X-Git-Tag: v9.9.0a1~387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4768c1d9a4a89325802ba152552a76c455f60bb3;p=thirdparty%2Fbind9.git while (1) -> for (;;) --- diff --git a/bin/tests/dst/gsstest.c b/bin/tests/dst/gsstest.c index dd9f8ce45e5..eb9fc2cc34b 100755 --- a/bin/tests/dst/gsstest.c +++ b/bin/tests/dst/gsstest.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: gsstest.c,v 1.14 2011/01/08 01:26:01 each Exp $ */ +/* $Id: gsstest.c,v 1.15 2011/03/28 05:11:43 marka Exp $ */ #include @@ -103,7 +103,7 @@ console(isc_task_t *task, isc_event_t *event) isc_event_free(&event); - while(1) { + for (;;) { printf("\nCommand => "); c = scanf("%s", buf); @@ -418,7 +418,7 @@ setup(void) struct in_addr inaddr; int c; - while (1) { + for (;;) { printf("Server IP => "); c = scanf("%s", serveraddress); @@ -432,7 +432,7 @@ setup(void) return; } - }; + } } int