Commit 7729f76d authored by Leigh Stoller's avatar Leigh Stoller

Fix cut/paste bug in BindToSlice. Fix submitted by Brecht.

parent f15291fa
......@@ -916,10 +916,10 @@ sub BindToSlice($)
}
my ($credential, $speaksfor);
if (defined($cred)) {
$credential = GeniCredential::CheckCredential($cred, $authority);
$credential = GeniCredential::CheckCredential($cred);
}
else {
($credential,$speaksfor) = GeniStd::CheckCredentials($creds, $authority);
($credential,$speaksfor) = GeniStd::CheckCredentials($creds);
}
return $credential
if (GeniResponse::IsResponse($credential));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment