Add comment
This commit is contained in:
parent
1e71076fd4
commit
e3217ec9be
@ -100,7 +100,7 @@ static char* strdel(const char* substr, char* str) {
|
|||||||
if(!dest)
|
if(!dest)
|
||||||
return NULL;
|
return NULL;
|
||||||
char* src = dest + strlen(substr);
|
char* src = dest + strlen(substr);
|
||||||
strcpy(dest, src);
|
strcpy(dest, src); /* Source and destination overlap. This is rigth. */
|
||||||
|
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user