diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-01-07 09:11:45 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-01-07 09:11:45 +0100 |
commit | 7ee88fb46c512c125191d6447ff1348dfc3254f3 (patch) | |
tree | 708d6960a34134455ceafe5f737d2d99ed344f5f /src/core/wee-hook.c | |
parent | 91f792416bd40c8e47d7f035e15f49732be368ce (diff) | |
download | weechat-7ee88fb46c512c125191d6447ff1348dfc3254f3.zip |
core: fix some styles
Diffstat (limited to 'src/core/wee-hook.c')
-rw-r--r-- | src/core/wee-hook.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index 237c73c4b..530bf8794 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -1062,9 +1062,9 @@ hook_timer_init (struct t_hook *hook) gettimeofday (&HOOK_TIMER(hook, last_exec), NULL); time_now = time (NULL); - local_time = localtime(&time_now); + local_time = localtime (&time_now); local_hour = local_time->tm_hour; - gm_time = gmtime(&time_now); + gm_time = gmtime (&time_now); gm_hour = gm_time->tm_hour; if ((local_time->tm_year > gm_time->tm_year) || (local_time->tm_mon > gm_time->tm_mon) @@ -3680,7 +3680,7 @@ hook_set (struct t_hook *hook, const char *property, const char *value) if (string_strcasecmp (property, "subplugin") == 0) { if (hook->subplugin) - free(hook->subplugin); + free (hook->subplugin); hook->subplugin = strdup (value); } else if (string_strcasecmp (property, "stdin") == 0) |