# Changed all the for calls to use the != test rather than < test.
The change was recommended in the C/C++ User Journal magazine.
This commit is contained in:
1 parent
86c9d69086
commit
77ca1c8ce0
7 files changed
+31
-31
No files matched your search
@@ -1,4 +1,4 @@
|
||||
/* $Id: log.c,v 1.25 2003-05-30 16:22:30 rjkaes Exp $
|
||||
/* $Id: log.c,v 1.26 2003-05-31 23:02:21 rjkaes Exp $
|
||||
*
|
||||
* Logs the various messages which tinyproxy produces to either a log file or
|
||||
* the syslog daemon. Not much to it...
|
||||
@@ -201,7 +201,7 @@ send_stored_logs(void)
|
||||
|
||||
int i;
|
||||
|
||||
for (i = 0; i < vector_length(log_message_storage); ++i) {
|
||||
for (i = 0; i != vector_length(log_message_storage); ++i) {
|
||||
string = vector_getentry(log_message_storage, i, NULL);
|
||||
|
||||
ptr = strchr(string, ' ') + 1;
|
||||
|
||||
Reference in new issue
Block a user