fix bad behavior with readline6 (linphonec)

This commit is contained in:
Simon Morlat 2011-10-24 13:59:24 +02:00
parent 2b16115ebf
commit 08875d20e6
2 changed files with 3 additions and 2 deletions

View file

@ -553,7 +553,8 @@ char *linphonec_readline(char *prompt){
}
}else{
#ifdef HAVE_READLINE
return readline(prompt);
char* ret=readline(prompt);
return ret;
#endif
}
}

View file

@ -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