summaryrefslogtreecommitdiff
path: root/src/common/extstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/extstr.c')
-rw-r--r--src/common/extstr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/extstr.c b/src/common/extstr.c
index 59d4389..9986ec1 100644
--- a/src/common/extstr.c
+++ b/src/common/extstr.c
@@ -209,6 +209,8 @@ char *strrpl(char *haystack, const char *needle1, const char *needle2)
memcpy(found, needle2, len2);
+ index += len2;
+
}
return haystack;