mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
bugfixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1101 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6c97f13cad
commit
ebdaa110f1
4 changed files with 9 additions and 9 deletions
|
|
@ -16,7 +16,6 @@ typedef struct {
|
|||
} PERL_SIGNAL_REC;
|
||||
|
||||
typedef struct {
|
||||
int signal_id;
|
||||
char *signal;
|
||||
char *args[7];
|
||||
} PERL_SIGNAL_ARGS_REC;
|
||||
|
|
@ -53,7 +52,7 @@ static void perl_call_signal(const char *func, int signal_id,
|
|||
gconstpointer *args)
|
||||
{
|
||||
dSP;
|
||||
int retcount, ret;
|
||||
int retcount;
|
||||
|
||||
PERL_SIGNAL_ARGS_REC *rec;
|
||||
HV *stash;
|
||||
|
|
@ -347,8 +346,9 @@ void perl_signals_init(void)
|
|||
perl_signal_args_partial =
|
||||
g_slist_append(perl_signal_args_partial, rec);
|
||||
} else {
|
||||
int signal_id = signal_get_uniq_id(rec->signal);
|
||||
g_hash_table_insert(perl_signal_args_hash,
|
||||
GINT_TO_POINTER(rec->signal_id),
|
||||
GINT_TO_POINTER(signal_id),
|
||||
rec);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue