mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
Constify dmap_add_string() parameter
This commit is contained in:
parent
bccc6da87f
commit
27acda871a
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user