X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Ftcp_sockets.c;h=a786c6cbea875915b96c05d616dfa1a6e2b5ecb4;hb=5b8eae516c5277a1409378676151f2cc6083df1d;hp=fa5429d32b8099f4381af5d51e4863fe9b5ece04;hpb=bf252c15ddd39bd181bb494751d210e3d89c50d6;p=citadel.git diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index fa5429d32..a786c6cbe 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -218,7 +218,7 @@ int StrBuf_ServGetBLOB(StrBuf *buf, long BlobSize) * \param buf the buffer to write to citadel server * \param nbytes how many bytes to send to citadel server */ -void serv_write(char *buf, int nbytes) +void serv_write(const char *buf, int nbytes) { int bytes_written = 0; int retval; @@ -243,7 +243,7 @@ void serv_write(char *buf, int nbytes) * \brief send line to server * \param string the line to send to the citadel server */ -void serv_puts(char *string) +void serv_puts(const char *string) { #ifdef SERV_TRACE lprintf(9, "%3d<%s\n", WC->serv_sock, string);