summaryrefslogtreecommitdiff
path: root/src/irc/dcc/dcc.c
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-03-20 21:47:02 +0100
committerLemonBoy <thatlemon@gmail.com>2016-03-20 21:47:02 +0100
commit550fe6f010f682d352077579d5056609a68e9814 (patch)
tree76cc1aeefcdf10460f49336bb569828d581d9a00 /src/irc/dcc/dcc.c
parent795b7de80891d51adfb912798ca954431cbf702b (diff)
downloadirssi-550fe6f010f682d352077579d5056609a68e9814.zip
Use 0 as a sentinel value for sasl_timeout
If sasl_timeout is never initialized with a valid timeout id then calling /disconnect on the server calls g_source_remove() with 0 as tag, causing an harmless error message to be printed. Beside that, the sasl_timeout field is defined as a unsigned int. We can use 0 as sentiel since g_timeout_add returns tags that are always greater than zero.
Diffstat (limited to 'src/irc/dcc/dcc.c')
0 files changed, 0 insertions, 0 deletions