catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23511 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -87,7 +87,11 @@ proto (int sock, const char *service) | |||||||
|      |      | ||||||
|     memset(&in_creds, 0, sizeof(in_creds)); |     memset(&in_creds, 0, sizeof(in_creds)); | ||||||
|     status = krb5_cc_default(context, &ccache); |     status = krb5_cc_default(context, &ccache); | ||||||
|  |     if(status) | ||||||
|  | 	krb5_err(context, 1, status, "krb5_cc_default"); | ||||||
|     status = krb5_cc_get_principal(context, ccache, &in_creds.client); |     status = krb5_cc_get_principal(context, ccache, &in_creds.client); | ||||||
|  |     if(status) | ||||||
|  | 	krb5_err(context, 1, status, "krb5_cc_get_principal"); | ||||||
|  |  | ||||||
|     status = krb5_read_message(context, &sock, &in_creds.second_ticket); |     status = krb5_read_message(context, &sock, &in_creds.second_ticket); | ||||||
|     if(status) |     if(status) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand