1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

redirect_event() didn't give the correct parameter to event_hash2list().

Changed void* parameters -> SV* and using them directly instead of ST(x).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2011 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-15 00:04:16 +00:00 committed by cras
parent da6170d4d7
commit 179faf0416

View File

@ -85,12 +85,12 @@ server_redirect_register(command, remote, timeout, start, stop)
char *command
int remote
int timeout
void *start
void *stop
SV *start
SV *stop
CODE:
server_redirect_register_list(command, remote, timeout,
register_hash2list(hvref(ST(3))),
register_hash2list(hvref(ST(4))));
register_hash2list(hvref(start)),
register_hash2list(hvref(stop)));
void
server_redirect_event(server, command, count, arg, remote, failure_signal, signals)
@ -100,11 +100,11 @@ server_redirect_event(server, command, count, arg, remote, failure_signal, signa
char *arg
int remote
char *failure_signal
void *signals
SV *signals
CODE:
server_redirect_event_list(server, command, count, *arg == '\0' ? NULL : arg, remote,
*failure_signal == '\0' ? NULL : failure_signal,
event_hash2list(hvref(ST(5))));
event_hash2list(hvref(signals)));
char *
server_redirect_get_signal(server, event, args)