From: Andreas Schwab Date: Fri, 30 Dec 2005 11:03:41 +0000 (+0000) Subject: (Fnetwork_interface_info): Correctly terminate the X-Git-Tag: emacs-pretest-22.0.90~4977 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=82a800588d6b61c242204866f09a606c27e205a4;p=emacs.git (Fnetwork_interface_info): Correctly terminate the loop over ifflag_table. --- diff --git a/src/ChangeLog b/src/ChangeLog index ad9084b4b46..1d3a92444e2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2005-12-30 Andreas Schwab + + * process.c (Fnetwork_interface_info): Correctly terminate the + loop over ifflag_table. + 2005-12-29 Richard M. Stallman * lread.c (readevalloop): Test for reading a whole buffer diff --git a/src/process.c b/src/process.c index 516e4639c34..b88617a2c0f 100644 --- a/src/process.c +++ b/src/process.c @@ -3558,7 +3558,7 @@ FLAGS is the current flags of the interface. */) 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) {