diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-05-30 16:22:30 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-05-30 16:22:30 +0000 |
commit | af5e1e29f60c5344825cb0f59a9ea7ee2cb501ea (patch) | |
tree | e2fce4b312af8b427218f578803149c257c6358a /src/log.c | |
parent | 1955dcd47b956da220497c9818c67a8ca58cca35 (diff) |
# Changed the calls to vector_getentry() to use the new calling
convention.
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: log.c,v 1.24 2003-05-29 20:48:25 rjkaes Exp $ +/* $Id: log.c,v 1.25 2003-05-30 16:22:30 rjkaes Exp $ * * Logs the various messages which tinyproxy produces to either a log file or * the syslog daemon. Not much to it... @@ -202,7 +202,7 @@ send_stored_logs(void) int i; for (i = 0; i < vector_length(log_message_storage); ++i) { - vector_getentry(log_message_storage, i, (void **)&string); + string = vector_getentry(log_message_storage, i, NULL); ptr = strchr(string, ' ') + 1; level = atoi(string); |