Mercurial > hg > mlmmj
changeset 891:4dd2c703e917
Use more standard C.
author | Ben Schmidt |
---|---|
date | Thu, 13 Feb 2014 09:15:28 +1100 |
parents | 49efd4fe7557 |
children | 1c13e314e5b9 |
files | src/mlmmj-maintd.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mlmmj-maintd.c Tue Feb 04 09:06:05 2014 +1100 +++ b/src/mlmmj-maintd.c Thu Feb 13 09:15:28 2014 +1100 @@ -140,6 +140,8 @@ time_t modreqlife = 0; char *modreqlifestr; + char *moddirname; + int ret; modreqlifestr = ctrlvalue(listdir, "modreqlife"); if(modreqlifestr) { @@ -149,8 +151,8 @@ if(modreqlife == 0) modreqlife = MODREQLIFE; - char *moddirname = concatstr(2, listdir, "/moderation"); - int ret = delolder(moddirname, modreqlife); + moddirname = concatstr(2, listdir, "/moderation"); + ret = delolder(moddirname, modreqlife); myfree(moddirname);