]> andersk Git - moira.git/blobdiff - update/update_test.c
Use krb5_error_code for return value of krb5 library functions.
[moira.git] / update / update_test.c
index 4511acfbb288bd394fe762dcfc27894979af0353..d3f957328dfd8c7d0291170104de0c4bb9e3e845 100644 (file)
@@ -39,7 +39,9 @@ int main(int argc, char **argv)
       exit(1);
     }
 
-  code = mr_send_auth(conn, host);
+  code = mr_send_krb5_auth(conn, host);
+  if (code)
+    code = mr_send_auth(conn, host);
   if (code)
     com_err(whoami, code, "attempting authorization");
 
This page took 0.036544 seconds and 4 git commands to generate.