aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 32b079353..f3d0effb0 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -48,7 +48,7 @@ char * strDupToUpper(char * str) {
}
void stripReturnChar(char * string) {
- while(string && (string = strstr(string,"\n"))) {
+ while(string && (string = strchr(string,'\n'))) {
*string = ' ';
}
}