misc: Make the src pointer const in ssh_strreplace()

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Andreas Schneider
2020-01-23 09:20:43 +01:00
parent 10d27a0d42
commit 8215753402
2 changed files with 2 additions and 2 deletions

View File

@@ -98,5 +98,5 @@ int ssh_quote_file_name(const char *file_name, char *buf, size_t buf_len);
int ssh_newline_vis(const char *string, char *buf, size_t buf_len);
int ssh_tmpname(char *template);
char *ssh_strreplace(char *src, const char *pattern, const char *repl);
char *ssh_strreplace(const char *src, const char *pattern, const char *repl);
#endif /* MISC_H_ */