N_()ify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23799 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -108,7 +108,7 @@ krb5_recvauth_match_version(krb5_context context, | |||||||
| 	} | 	} | ||||||
| 	if (n == 0) { | 	if (n == 0) { | ||||||
| 	    krb5_set_error_message(context, KRB5_SENDAUTH_BADAUTHVERS, | 	    krb5_set_error_message(context, KRB5_SENDAUTH_BADAUTHVERS, | ||||||
| 				   "Failed to receive sendauth data"); | 				   N_("Failed to receive sendauth data", "")); | ||||||
| 	    return KRB5_SENDAUTH_BADAUTHVERS; | 	    return KRB5_SENDAUTH_BADAUTHVERS; | ||||||
| 	} | 	} | ||||||
| 	len = ntohl(len); | 	len = ntohl(len); | ||||||
| @@ -137,7 +137,8 @@ krb5_recvauth_match_version(krb5_context context, | |||||||
|     if (her_appl_version == NULL) { |     if (her_appl_version == NULL) { | ||||||
| 	repl = 2; | 	repl = 2; | ||||||
| 	krb5_net_write (context, p_fd, &repl, 1); | 	krb5_net_write (context, p_fd, &repl, 1); | ||||||
| 	krb5_set_error_message(context, ENOMEM, "malloc: out of memory"); | 	krb5_set_error_message(context, ENOMEM,  | ||||||
|  | 			       N_("malloc: out of memory", "")); | ||||||
| 	return ENOMEM; | 	return ENOMEM; | ||||||
|     } |     } | ||||||
|     if (krb5_net_read (context, p_fd, her_appl_version, len) != len |     if (krb5_net_read (context, p_fd, her_appl_version, len) != len | ||||||
| @@ -145,7 +146,7 @@ krb5_recvauth_match_version(krb5_context context, | |||||||
| 	repl = 2; | 	repl = 2; | ||||||
| 	krb5_net_write (context, p_fd, &repl, 1); | 	krb5_net_write (context, p_fd, &repl, 1); | ||||||
| 	krb5_set_error_message(context, KRB5_SENDAUTH_BADAPPLVERS, | 	krb5_set_error_message(context, KRB5_SENDAUTH_BADAPPLVERS, | ||||||
| 			       "wrong sendauth version (%s)", | 			       N_("wrong sendauth version (%s)", ""), | ||||||
| 			       her_appl_version); | 			       her_appl_version); | ||||||
| 	free (her_appl_version); | 	free (her_appl_version); | ||||||
| 	return KRB5_SENDAUTH_BADAPPLVERS; | 	return KRB5_SENDAUTH_BADAPPLVERS; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand