(get_response): fix krb5_err call
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10480 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -565,7 +565,7 @@ get_response(const char *prompt, const char *def, char *buf, size_t len) | |||||||
|     if(fgets(buf, len, stdin) == NULL) { |     if(fgets(buf, len, stdin) == NULL) { | ||||||
| 	int save_errno = errno; | 	int save_errno = errno; | ||||||
| 	if(ferror(stdin)) | 	if(ferror(stdin)) | ||||||
| 	    krb5_err(context, save_errno, "<stdin>"); | 	    krb5_err(context, 1, save_errno, "<stdin>"); | ||||||
| 	signal(SIGINT, osig); | 	signal(SIGINT, osig); | ||||||
| 	return 1; | 	return 1; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund