diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-02-06 05:01:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-02-06 05:01:44 +0000 |
commit | 2bb4fd24de054685ba005177e7359ad1eb087804 (patch) | |
tree | f9864d968bc5dde57b233270281550368a1b9e8e /src | |
parent | 2be4f3e424f1ce5a8d2b7cd7b3febb686abc9c4e (diff) | |
download | tor-2bb4fd24de054685ba005177e7359ad1eb087804.tar.gz tor-2bb4fd24de054685ba005177e7359ad1eb087804.zip |
char *x = "y"; is not good C.
svn:r5926
Diffstat (limited to 'src')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 7c93aef4de..1e1320cea7 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -547,7 +547,7 @@ connection_create_listener(const char *listenaddress, uint16_t listenport, #endif if (bind(s,(struct sockaddr *)&listenaddr,sizeof(listenaddr)) < 0) { - char *helpfulhint = ""; + const char *helpfulhint = ""; int e = tor_socket_errno(s); if (ERRNO_IS_EADDRINUSE(e)) helpfulhint = ". Is Tor already running?"; |