summaryrefslogtreecommitdiff
path: root/src/common/tortls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-01-30 22:19:41 +0000
committerNick Mathewson <nickm@torproject.org>2007-01-30 22:19:41 +0000
commit76f896e7145ac85b354ad603794f569b20ca85c8 (patch)
treea3da57ca81cfda646587f3e62c18e63913d7d585 /src/common/tortls.c
parent1894e7ea01154d91c3842926a71ae32843264a24 (diff)
downloadtor-76f896e7145ac85b354ad603794f569b20ca85c8.tar.gz
tor-76f896e7145ac85b354ad603794f569b20ca85c8.zip
r11607@catbus: nickm | 2007-01-30 17:19:27 -0500
Audit non-const char arguments; make a lot more of them const. svn:r9466
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index b93d761b0c..8238073a39 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -538,7 +538,7 @@ tor_tls_read(tor_tls_t *tls, char *cp, size_t len)
* TOR_TLS_WANTREAD, or TOR_TLS_WANTWRITE.
*/
int
-tor_tls_write(tor_tls_t *tls, char *cp, size_t n)
+tor_tls_write(tor_tls_t *tls, const char *cp, size_t n)
{
int r, err;
tor_assert(tls);