X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fforw.c;h=140136a9abf8651d17786b96e6d76c886f02063a;hb=412b2e54251ff6e20537f83b95c8ee76ea8c5c40;hp=53b09683b083848178bfbe01dc52c11c8fe61c47;hpb=d5b5e6e4813b7fd77dc1664df4304537f3002cf3;p=mmh diff --git a/uip/forw.c b/uip/forw.c index 53b0968..140136a 100644 --- a/uip/forw.c +++ b/uip/forw.c @@ -226,11 +226,12 @@ main(int argc, char **argv) issue = 0; issue++; } - if (volume == 0) + if (volume == 0) { snprintf(buf, sizeof(buf), VFORMAT, digest); - if ((cp = context_find(buf)) == NULL || - (volume = atoi(cp)) <= 0) - volume = 1; + if ((cp = context_find(buf)) == NULL || + (volume = atoi(cp)) <= 0) + volume = 1; + } if (!form) form = digestcomps; in = build_form(form, digest, volume, issue); @@ -325,7 +326,7 @@ build_form(char *form, char *digest, int volume, int issue) cptr->c_text = digest; FINDCOMP(cptr, "date"); if (cptr) - cptr->c_text = getcpy(dtimenow(0)); + cptr->c_text = getcpy(dtimenow()); dat[0] = issue; dat[1] = volume;