/[mailutils]/mailutils/mail.local/main.c
ViewVC logotype

Diff of /mailutils/mail.local/main.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by gray, Mon Nov 4 17:36:52 2002 UTC revision 1.21 by gray, Tue Nov 5 21:52:14 2002 UTC
# Line 292  make_tmp (const char *from, char **tempf Line 292  make_tmp (const char *from, char **tempf
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");
# Line 309  make_tmp (const char *from, char **tempf Line 310  make_tmp (const char *from, char **tempf
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);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26