From 77ca1c8ce0df4d7733bb5a382ca8c18adba93e1c Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Sat, 31 May 2003 23:02:21 +0000 Subject: # Changed all the for calls to use the != test rather than < test. The change was recommended in the C/C++ User Journal magazine. --- src/conns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conns.c') diff --git a/src/conns.c b/src/conns.c index 6015eff..1de8f40 100644 --- a/src/conns.c +++ b/src/conns.c @@ -1,4 +1,4 @@ -/* $Id: conns.c,v 1.16 2003-05-04 04:35:10 rjkaes Exp $ +/* $Id: conns.c,v 1.17 2003-05-31 23:02:21 rjkaes Exp $ * * Create and free the connection structure. One day there could be * other connection related tasks put here, but for now the header @@ -116,7 +116,7 @@ destroy_conn(struct conn_s *connptr) if (connptr->error_variables) { int i; - for (i = 0; i < connptr->error_variable_count; ++i) { + for (i = 0; i != connptr->error_variable_count; ++i) { safefree(connptr->error_variables[i]->error_key); safefree(connptr->error_variables[i]->error_val); safefree(connptr->error_variables[i]); -- cgit v1.2.3