mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 06:38:08 +00:00
fix bad behavior with readline6 (linphonec)
This commit is contained in:
parent
2b16115ebf
commit
08875d20e6
2 changed files with 3 additions and 2 deletions
|
|
@ -553,7 +553,8 @@ char *linphonec_readline(char *prompt){
|
|||
}
|
||||
}else{
|
||||
#ifdef HAVE_READLINE
|
||||
return readline(prompt);
|
||||
char* ret=readline(prompt);
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@
|
|||
* Time between calls to linphonec_idle_call during main
|
||||
* input read loop in microseconds.
|
||||
*/
|
||||
#define LPC_READLINE_TIMEOUT 1000000
|
||||
#define LPC_READLINE_TIMEOUT 10000
|
||||
|
||||
/*
|
||||
* Filename of linphonec history
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue