~ubuntu-branches/debian/sid/ppp/sid

« back to all changes in this revision

Viewing changes to debian/patches/004_auth.c.diff

  • Committer: Bazaar Package Importer
  • Author(s): Eddy Petrișor
  • Date: 2007-03-17 22:31:45 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070317223145-felzh5yrmh8fwi8t
Tags: 2.4.4rel-8
* urgency high since fixes an RC bug
* make sure the /etc/resolv.conf file is world readable (Closes: #415077)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- ppp-2.4.0b4.orig/pppd/auth.c
2
 
+++ ppp-2.4.0b4/pppd/auth.c
3
 
@@ -1120,7 +1120,7 @@
4
 
     if (pam_error == PAM_SUCCESS && !PAM_error) {    
5
 
         pam_error = pam_acct_mgmt (pamh, PAM_SILENT);
6
 
         if (pam_error == PAM_SUCCESS)
7
 
-           pam_open_session (pamh, PAM_SILENT);
8
 
+           pam_error = pam_open_session (pamh, PAM_SILENT);
9
 
     }
10
 
 
11
 
     *msg = (char *) pam_strerror (pamh, pam_error);