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

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

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

revision 1.6 by gray, Tue Aug 13 13:24:57 2002 UTC revision 1.7 by gray, Mon Nov 4 17:36:52 2002 UTC
# Line 80  mda_switch_to_user (struct mda_data *md) Line 80  mda_switch_to_user (struct mda_data *md)
80    
81    if (auth)    if (auth)
82      {      {
83        switch_user_id (auth->uid);        switch_user_id (auth, 1);
84        chdir (auth->dir);        chdir (auth->dir);
85        mu_auth_data_free (auth);        mu_auth_data_free (auth);
86      }      }
87    else    else
88      {      {
89        switch_user_id (0);        switch_user_id (auth, 0);
90        chdir ("/");        chdir ("/");
91      }      }
92  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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