aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-19 21:25:32 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-19 21:25:32 +0000
commitc57ef84fc51c16123f22762cc832e340b6804e46 (patch)
tree4cbc3b1eae5e1518997a6decd75187fc4d9b59b8 /src/common
parent39e50cbb48f65ba7e75f5aed40d2a19c0255219d (diff)
downloadtor-c57ef84fc51c16123f22762cc832e340b6804e46.tar
tor-c57ef84fc51c16123f22762cc832e340b6804e46.tar.gz
r11987@Kushana: nickm | 2007-01-19 14:57:28 -0500
Implement SOCKS_BAD_HOSTNAME status event. Defer remaining status events. Clean up control-spec.txt a little, and fill in recommendations for events. svn:r9374
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 136123baf..f249b4551 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -652,8 +652,9 @@ base16_decode(char *dest, size_t destlen, const char *src, size_t srclen)
/** Allocate and return a new string representing the contents of <b>s</b>,
* surrounded by quotes and using standard C escapes.
*
- * Generally, we use this for logging values that come in over the network
- * to keep them from tricking users.
+ * Generally, we use this for logging values that come in over the network to
+ * keep them from tricking users, and for sending certain values to the
+ * controller.
*
* We trust values from the resolver, OS, configuration file, and command line
* to not be maliciously ill-formed. We validate incoming routerdescs and