diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-04 14:49:21 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-02-04 14:49:21 +0000 |
commit | f767a82fd307527417188f07efa0b0a7e2655566 (patch) | |
tree | 663e03d43815b1a5e0f34ec82e28521a302650d1 /file.c | |
parent | [w3m-dev 02980] Re: code_to_str not found ifndef JP_CHARSET (diff) | |
download | w3m-f767a82fd307527417188f07efa0b0a7e2655566.tar.gz w3m-f767a82fd307527417188f07efa0b0a7e2655566.zip |
[w3m-dev 02985] inputAnswer() and no "ssl_forbid_method"
* file.c (inputAnswer): buf size is 80
* url.c (openSSLHandle): if old_ssl_forbid_method == ssl_forbid_method
ssl path is not modified
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.60 2002/02/03 15:22:24 ukai Exp $ */ +/* $Id: file.c,v 1.61 2002/02/04 14:49:21 ukai Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -6982,7 +6982,7 @@ char * inputAnswer(char *prompt) { char *ans; - char buf[2]; + char buf[80]; if (fmInitialized) { term_raw(); @@ -6991,7 +6991,7 @@ inputAnswer(char *prompt) else { printf(prompt); fflush(stdout); - fgets(buf, 2, stdin); + fgets(buf, 80, stdin); ans = allocStr(buf, 1); } return ans; |