292 |
char *buf = NULL; |
char *buf = NULL; |
293 |
size_t n = 0; |
size_t n = 0; |
294 |
int line; |
int line; |
295 |
|
|
296 |
*tempfile = mu_tempname (NULL); |
*tempfile = mu_tempname (NULL); |
297 |
fp = fopen (*tempfile, "w+"); |
fp = fopen (*tempfile, "w+"); |
298 |
|
|
299 |
if (fp == NULL) |
if (fp == NULL) |
300 |
{ |
{ |
301 |
mailer_err ("unable to open temporary file"); |
mailer_err ("unable to open temporary file"); |
310 |
{ |
{ |
311 |
if (memcmp (buf, "From ", 5)) |
if (memcmp (buf, "From ", 5)) |
312 |
{ |
{ |
313 |
struct mu_auth_data *auth; |
struct mu_auth_data *auth = NULL; |
314 |
if (!from) |
if (!from) |
315 |
{ |
{ |
316 |
auth = mu_get_auth_by_uid (uid); |
auth = mu_get_auth_by_uid (uid); |