kdc: handle_referral_params does not return ENOMEM errors
authorEzra Peisach <epeisach@mit.edu>
Thu, 9 Apr 2009 11:53:27 +0000 (11:53 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 9 Apr 2009 11:53:27 +0000 (11:53 +0000)
retval was set but never returned.

ticket: 6450
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22186 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/main.c

index 8a56f593e33a3039dd4f195d99c4ea9d3412c620..b54aba5302a8162bf11ebd3dcad4d6eba2fc1bcc 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