aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-05-20 06:41:23 +0000
committerRoger Dingledine <arma@torproject.org>2003-05-20 06:41:23 +0000
commit39e9d79038f6075ec59fdafba811ffa406796b5c (patch)
treeefc72733f83deda7f2390c5ed49138441b979421 /src/or/config.c
parent59029a3eedf934407db17b29be77b89d9a12d77e (diff)
downloadtor-39e9d79038f6075ec59fdafba811ffa406796b5c.tar
tor-39e9d79038f6075ec59fdafba811ffa406796b5c.tar.gz
add circuit-level sendme relay cells
remove sendme cells replace malloc with tor_malloc patch (but not track down) bug in onion pending list streamline connection_ap handshake svn:r293
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 745b76d8c..6107a7eeb 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -43,7 +43,7 @@ struct config_line *config_get_commandlines(int argc, char **argv) {
continue;
}
- new = malloc(sizeof(struct config_line));
+ new = tor_malloc(sizeof(struct config_line));
s = argv[i];
while(*s == '-')
s++;
@@ -107,7 +107,7 @@ struct config_line *config_get_lines(FILE *f) {
*end = 0; /* null it out */
/* prepare to parse the string into key / value */
- new = malloc(sizeof(struct config_line));
+ new = tor_malloc(sizeof(struct config_line));
new->key = strdup(start);
new->value = strdup(s);