diff options
author | Timo Sirainen <cras@irssi.org> | 2002-11-10 10:14:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-11-10 10:14:18 +0000 |
commit | 902280eca78875a82619770cc94afe88ae418a8c (patch) | |
tree | 7e3a597cc4047f7dde4ea41df796332427225be5 /src/perl/common | |
parent | 14f3c0c2e5f62b9671a0489b00dac4e6e5b4b8e9 (diff) | |
download | irssi-902280eca78875a82619770cc94afe88ae418a8c.zip |
Irssi::timeout_add(), timeout_add_once() and input_add() were buggy.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2992 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common')
-rw-r--r-- | src/perl/common/Core.xs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/perl/common/Core.xs b/src/perl/common/Core.xs index d3e07792..d5b9d6e8 100644 --- a/src/perl/common/Core.xs +++ b/src/perl/common/Core.xs @@ -196,7 +196,7 @@ CODE: croak("Irssi::timeout() : msecs must be >= 10"); RETVAL = -1; } else { - RETVAL = perl_timeout_add(msecs, func, data); + RETVAL = perl_timeout_add(msecs, func, data, FALSE); } OUTPUT: RETVAL @@ -211,7 +211,7 @@ CODE: croak("Irssi::timeout_once() : msecs must be >= 10"); RETVAL = -1; } else { - RETVAL = perl_timeout_add(msecs, func, data); + RETVAL = perl_timeout_add(msecs, func, data, TRUE); } OUTPUT: RETVAL @@ -244,7 +244,7 @@ input_add(source, condition, func, data) SV *func SV *data CODE: - RETVAL = perl_input_add(source, condition, func, data); + RETVAL = perl_input_add(source, condition, func, data, FALSE); OUTPUT: RETVAL |