From 179faf041620d58d34649e80c6afd15153146a59 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Nov 2001 00:04:16 +0000 Subject: [PATCH] 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 --- src/perl/irc/Server.xs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/perl/irc/Server.xs b/src/perl/irc/Server.xs index c245ba03..df04e181 100644 --- a/src/perl/irc/Server.xs +++ b/src/perl/irc/Server.xs @@ -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)