r23651: Always, always, always compile before commit...
[ira/wip.git] / source3 / libsmb / clikrb5.c
index 82796d39ccd329eba3fca7a38c30cfb69e81525e..96c18c3a8c86ad1cbfc439e8dc3d2cc2a432cc37 100644 (file)
@@ -954,7 +954,7 @@ get_key_from_keytab(krb5_context context,
        ret = smb_krb5_open_keytab(context, NULL, False, &keytab);
        if (ret) {
                DEBUG(1,("get_key_from_keytab: smb_krb5_open_keytab failed (%s)\n", error_message(ret)));
-               goto out;
+               return ret;
        }
 
        if ( DEBUGLEVEL >= 10 ) {