mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02: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
1 changed files with 3 additions and 1 deletions
|
|
@ -390,8 +390,10 @@ static char *escape_target(const char *target)
|
|||
else {
|
||||
if (*target == '%')
|
||||
*p++ = '%';
|
||||
*p++ = *target++;
|
||||
*p++ = *target;
|
||||
}
|
||||
|
||||
target++;
|
||||
}
|
||||
*p = '\0';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue