]> jfr.im git - irc/irssi/irssi.git/commit
fe_channel_skip_prefix: fix return value (FALSE/NULL isn't valid)
authordequis <redacted>
Tue, 22 Sep 2015 04:17:15 +0000 (01:17 -0300)
committerdequis <redacted>
Tue, 22 Sep 2015 04:17:15 +0000 (01:17 -0300)
commit99f074b0db2d723c3a1ddbdc5226f54f24b01989
treec229a706535599a59c4f29ea14db769859686465
parentbf36f71b99b18401dbc6105509b0285146b37286
fe_channel_skip_prefix: fix return value (FALSE/NULL isn't valid)

The return value is a char*, and here it was false which is 0 which is
more or less the same as null.

That could have been a crash somewhere, the functions that call this
don't expect null ever.
src/fe-common/irc/fe-irc-channels.c