summaryrefslogtreecommitdiffhomepage
path: root/src/conns.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-31 23:02:21 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-31 23:02:21 +0000
commit77ca1c8ce0df4d7733bb5a382ca8c18adba93e1c (patch)
tree75dee7eb6b1f1de3ddbdd4104a2fdd112322f27a /src/conns.c
parent86c9d6908606c7c47d305b46a242a417c0f22673 (diff)
# Changed all the for calls to use the != test rather than < test.
The change was recommended in the C/C++ User Journal magazine.
Diffstat (limited to 'src/conns.c')
-rw-r--r--src/conns.c4
1 files changed, 2 insertions, 2 deletions
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]);