diff src/anvil/connect-limit.c @ 15068:002e0a120c2a

Renamed str_tabescape_write() to str_append_tabescaped()
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Sep 2012 00:56:51 +0300
parents 96fd2c3bf932
children 90710c6c3beb
line wrap: on
line diff
--- a/src/anvil/connect-limit.c	Sun Sep 16 00:52:39 2012 +0300
+++ b/src/anvil/connect-limit.c	Sun Sep 16 00:56:51 2012 +0300
@@ -168,7 +168,7 @@
 	iter = hash_table_iterate_init(limit->ident_pid_hash);
 	while (hash_table_iterate(iter, limit->ident_pid_hash, &i, &value)) {
 		str_truncate(str, 0);
-		str_tabescape_write(str, i->ident);
+		str_append_tabescaped(str, i->ident);
 		str_printfa(str, "\t%ld\t%u\n", (long)i->pid, i->refcount);
 		if (o_stream_send(output, str_data(str), str_len(str)) < 0)
 			break;