aboutsummaryrefslogtreecommitdiff
path: root/imap-send.c
diff options
context:
space:
mode:
authorTimo Hirvonen <tihirvon@gmail.com>2006-06-28 12:04:39 +0300
committerJunio C Hamano <junkio@cox.net>2006-06-28 03:24:37 -0700
commit554fe20d805693d962bd41647c5dc075cf7f5261 (patch)
tree09cba2467ab73d87d6567ee472b74cc27632ad6e /imap-send.c
parent66eb64cba64a26dbf2b1d4e319d6514696154fee (diff)
downloadgit-554fe20d805693d962bd41647c5dc075cf7f5261.tar.gz
git-554fe20d805693d962bd41647c5dc075cf7f5261.tar.xz
Make some strings const
Signed-off-by: Timo Hirvonen <tihirvon@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'imap-send.c')
-rw-r--r--imap-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap-send.c b/imap-send.c
index 94e39cd94..65c71c602 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -242,7 +242,7 @@ socket_read( Socket_t *sock, char *buf, int len )
}
static int
-socket_write( Socket_t *sock, char *buf, int len )
+socket_write( Socket_t *sock, const char *buf, int len )
{
int n = write( sock->fd, buf, len );
if (n != len) {