pull up r22186 from trunk
authorTom Yu <tlyu@mit.edu>
Wed, 15 Apr 2009 20:07:51 +0000 (20:07 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 15 Apr 2009 20:07:51 +0000 (20:07 +0000)
 ------------------------------------------------------------------------
 r22186 | epeisach | 2009-04-09 07:53:27 -0400 (Thu, 09 Apr 2009) | 7 lines
 Changed paths:
    M /trunk/src/kdc/main.c

 ticket: 6450
 subject: kdc: handle_referral_params does not return ENOMEM errors
 tags: pullup

 retval was set but never returned.

ticket: 6450
version_fixed: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22256 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/main.c

index 81f143031d546c574894518347d8bce001c7fe17..6485cc732577f23bd1d903bcef9146c1b5ba7d52 100644 (file)
@@ -252,7 +252,7 @@ handle_referral_params(krb5_realm_params *rparams,
                 rdp->realm_host_based_services = NULL;
     }
 
-    return 0;
+    return retval;
 }
 /*
  * Initialize a realm control structure from the alternate profile or from