changeset 67920:8f3c10fea90b

(Fnetwork_interface_info): Correctly terminate the loop over ifflag_table.
author Andreas Schwab <schwab@suse.de>
date Fri, 30 Dec 2005 11:03:20 +0000
parents 5dc6e6bc401b
children c475c5493ee0
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Fri Dec 30 06:19:41 2005 +0000
+++ b/src/process.c	Fri Dec 30 11:03:20 2005 +0000
@@ -3558,7 +3558,7 @@
       int fnum;
 
       any++;
-      for (fp = ifflag_table; flags != 0 && fp; fp++)
+      for (fp = ifflag_table; flags != 0 && fp->flag_sym; fp++)
 	{
 	  if (flags & fp->flag_bit)
 	    {