mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
escape_target() didn't escape / chars properly, it just crashed irssi..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
3432f02a05
commit
5360b3eaaf
@ -390,8 +390,10 @@ static char *escape_target(const char *target)
|
||||
else {
|
||||
if (*target == '%')
|
||||
*p++ = '%';
|
||||
*p++ = *target++;
|
||||
*p++ = *target;
|
||||
}
|
||||
|
||||
target++;
|
||||
}
|
||||
*p = '\0';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user