aboutsummaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 52ca3a47..faa185f9 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -1799,7 +1799,7 @@ err:
* @returns src_replaced a pointer that points to the replaced string.
* NULL if allocation fails or if src is NULL.
*/
-char *ssh_strreplace(char *src, const char *pattern, const char *replace)
+char *ssh_strreplace(const char *src, const char *pattern, const char *replace)
{
char *p = NULL;
char *src_replaced = NULL;