summaryrefslogtreecommitdiff
path: root/src/plugins/trigger/trigger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/trigger/trigger.c')
-rw-r--r--src/plugins/trigger/trigger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c
index 44b410af3..2fc7a1851 100644
--- a/src/plugins/trigger/trigger.c
+++ b/src/plugins/trigger/trigger.c
@@ -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;