diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-03-11 18:09:33 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-03-11 18:09:33 +0100 |
commit | afc1dd4f6b0ff1768b3e3565b2db5c3bfb182259 (patch) | |
tree | 21d87c0c1e30d97dfbd8f37da468a41522aac4d4 /src/plugins/irc/irc-config.c | |
parent | cc3fb2602402b71c741fc17021fa75543a448dbf (diff) | |
download | weechat-afc1dd4f6b0ff1768b3e3565b2db5c3bfb182259.zip |
api: fix bug in string_match when mask begins and ends with "*"
The bug was string_match returning 0 (instead of 1) if mask begins and ends with
"*" and if string and mask have same length (except both "*") with same content:
string_match("abc", "*abc*", 0) == 0 // BUG: it should return 1
string_match("abcd", "*abc*", 0) == 1 // OK
Diffstat (limited to 'src/plugins/irc/irc-config.c')
0 files changed, 0 insertions, 0 deletions