I looked at the patch (didn't test it) and I think the fprintf call is missing an argument to format as a string. It should read like this IMHO:
- fprintf(mail, "From: root (Cron Daemon)\n"); + fprintf(mail, "From: %s\n", mailfrom);
I looked at the patch (didn't test it) and I think the fprintf call is missing an argument to format as a string. It should read like this IMHO:
- fprintf(mail, "From: root (Cron Daemon)\n");
+ fprintf(mail, "From: %s\n", mailfrom);