1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

New backlog option in logger plugin, added variable names in .h files, replaced "void *" pointers by structures

This commit is contained in:
Sebastien Helleu
2007-12-17 17:07:08 +01:00
parent e62ec5204c
commit dba084f3d6
113 changed files with 3146 additions and 3815 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ t_weechat_trigger *weechat_trigger_alloc (char *pattern, char *domain, char *com
{
t_weechat_trigger *new;
new = (t_weechat_trigger *) malloc (sizeof (t_weechat_trigger));
new = (t_weechat_trigger *)malloc (sizeof (t_weechat_trigger));
if (new)
{
new->pattern = strdup (pattern);
@@ -725,7 +725,7 @@ weechat_trigger_edit (t_weechat_plugin *plugin, int todo)
return -1;
len = strlen (weechat_dir) + strlen(DIR_SEP) + strlen(CONF_FILE) + 1;
triggerrc = (char *) malloc (len * sizeof(char));
triggerrc = (char *)malloc (len * sizeof(char));
if (!triggerrc)
return -1;