patch - fixing sample program in unix.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



diff --git a/man7/unix.7 b/man7/unix.7
index cb1dcae45..7fb41af99 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -1057,7 +1057,7 @@ main(int argc, char *argv[])
\&
            if (!strncmp(buffer, "DOWN", sizeof(buffer))) {
                down_flag = 1;
-                break;
+                continue;
            }
\&
            if (!strncmp(buffer, "END", sizeof(buffer))) {




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux