summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-29 20:48:25 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-05-29 20:48:25 +0000
commit8ab278998fd8a5aab45012529d2517a6584b92cd (patch)
tree4716be3b3268b7f6c9d06a21ff60ffb7b8f0ea12
parent42f9f37afcc97fae11d76bac07cc2dbcd37c4b6c (diff)
downloadtinyproxy-8ab278998fd8a5aab45012529d2517a6584b92cd.tar.gz
tinyproxy-8ab278998fd8a5aab45012529d2517a6584b92cd.zip
# Renamed the vector_insert() calls to vector_append()
-rw-r--r--src/log.c4
-rw-r--r--src/reqs.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/log.c b/src/log.c
index fb2b15f..b19afca 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,4 +1,4 @@
-/* $Id: log.c,v 1.23 2002-10-03 20:49:57 rjkaes Exp $
+/* $Id: log.c,v 1.24 2003-05-29 20:48:25 rjkaes Exp $
*
* Logs the various messages which tinyproxy produces to either a log file or
* the syslog daemon. Not much to it...
@@ -148,7 +148,7 @@ log_message(int level, char *fmt, ...)
return;
sprintf(entry_buffer, "%d %s", level, str);
- vector_insert(log_message_storage, entry_buffer,
+ vector_append(log_message_storage, entry_buffer,
strlen(entry_buffer) + 1);
va_end(args);
diff --git a/src/reqs.c b/src/reqs.c
index 9fbec99..f7b5567 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1,4 +1,4 @@
-/* $Id: reqs.c,v 1.98 2003-05-29 19:43:57 rjkaes Exp $
+/* $Id: reqs.c,v 1.99 2003-05-29 20:48:25 rjkaes Exp $
*
* This is where all the work in tinyproxy is actually done. Incoming
* connections have a new child created for them. The child then
@@ -104,7 +104,7 @@ add_connect_port_allowed(int port)
}
log_message(LOG_INFO, "Adding Port [%d] to the list allowed by CONNECT", port);
- vector_insert(ports_allowed_by_connect, (void **)&port, sizeof(port));
+ vector_append(ports_allowed_by_connect, (void **)&port, sizeof(port));
}
/*