~ubuntu-branches/ubuntu/trusty/uucp/trusty

« back to all changes in this revision

Viewing changes to debian/patch.uucpd.pam.2

  • Committer: Bazaar Package Importer
  • Author(s): Peter Palfrader
  • Date: 2004-12-30 15:30:22 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230153022-mx4cdr9j3u9bldo3
Tags: 1.07-12
Add cs localisation for debconf templates (closes: #287305).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- uucpd.c     Mon Jan 21 12:42:55 2002
2
 
+++ uucpd-new.c Mon Jan 21 12:56:31 2002
3
 
@@ -31,10 +31,11 @@
4
 
 
5
 
 int myconv(int n,const struct pam_message **msg, struct pam_response **resp, void *ap)
6
 
 {
7
 
-       int k;
8
 
+       int k,rv;
9
 
        char *cp;
10
 
 
11
 
-       misc_conv(n,msg,resp,ap);
12
 
+       rv=misc_conv(n,msg,resp,ap);
13
 
+       if (rv != PAM_SUCCESS) return rv;
14
 
        /* 
15
 
         * The supplied misc_conv function doesn't seem to strip the
16
 
         * trailing return character so I do it here...