Constify dmap_add_string() parameter

This commit is contained in:
Julien BLACHE 2010-04-04 19:41:43 +02:00
parent bccc6da87f
commit 27acda871a
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ dmap_add_literal(struct evbuffer *evbuf, char *tag, char *str, int len)
}
void
dmap_add_string(struct evbuffer *evbuf, char *tag, char *str)
dmap_add_string(struct evbuffer *evbuf, char *tag, const char *str)
{
unsigned char buf[4];
int len;

View File

@ -39,7 +39,7 @@ void
dmap_add_literal(struct evbuffer *evbuf, char *tag, char *str, int len);
void
dmap_add_string(struct evbuffer *evbuf, char *tag, char *str);
dmap_add_string(struct evbuffer *evbuf, char *tag, const char *str);
void
dmap_send_error(struct evhttp_request *req, char *container, char *errmsg);