This commit is contained in:
Joris Vink 2016-02-13 14:33:06 +01:00
parent 090e2cc6a2
commit 0c0393fc64
2 changed files with 2 additions and 2 deletions

View File

@ -509,7 +509,7 @@ u_int64_t kore_strtonum64(const char *, int, int *);
void kore_strlcpy(char *, const char *, size_t);
void kore_server_disconnect(struct connection *);
int kore_split_string(char *, char *, char **, size_t);
void kore_strip_chars(char *, char, char **);
void kore_strip_chars(char *, const char, char **);
int kore_snprintf(char *, size_t, int *, const char *, ...);
long long kore_strtonum(const char *, int, long long, long long, int *);
int kore_base64_encode(u_int8_t *, u_int32_t, char **);

View File

@ -223,7 +223,7 @@ kore_split_string(char *input, char *delim, char **out, size_t ele)
}
void
kore_strip_chars(char *in, char strip, char **out)
kore_strip_chars(char *in, const char strip, char **out)
{
u_int32_t len;
char *s, *p;