]> git.marmaro.de Git - mmh/blobdiff - uip/forw.c
We have only numeric timezone support (e.g. +0200) from now on.
[mmh] / uip / forw.c
index e79e39584ccf637831c76702ec3da8b2a3e8a2aa..be1242b34a14251de1ae93cc5013c81aa2bb8f80 100644 (file)
@@ -238,7 +238,7 @@ main(int argc, char **argv)
                close(in);
        } else {
                fmtstr = new_fs(form, forwcomps);
                close(in);
        } else {
                fmtstr = new_fs(form, forwcomps);
-               if (write(out, fmtstr, strlen(fmtstr)) != strlen(fmtstr)) {
+               if (write(out, fmtstr, strlen(fmtstr)) != (int)strlen(fmtstr)) {
                        adios(drft, "error writing");
                }
        }
                        adios(drft, "error writing");
                }
        }
@@ -325,7 +325,7 @@ build_form(char *form, char *digest, int volume, int issue)
                cptr->c_text = digest;
        FINDCOMP(cptr, "date");
        if (cptr)
                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;
 
        dat[0] = issue;
        dat[1] = volume;