]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
while (1) -> for (;;)
authorMark Andrews <marka@isc.org>
Mon, 28 Mar 2011 05:11:43 +0000 (05:11 +0000)
committerMark Andrews <marka@isc.org>
Mon, 28 Mar 2011 05:11:43 +0000 (05:11 +0000)
bin/tests/dst/gsstest.c

index dd9f8ce45e51d37626a25e665858056f951d60e6..eb9fc2cc34b627fed152bf65982f55952a1379bc 100755 (executable)
@@ -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 <config.h>
 
@@ -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