remove trailing whitespace
This commit is contained in:
@@ -62,7 +62,7 @@ intr(int sig)
|
||||
*/
|
||||
|
||||
static int
|
||||
read_string(const char *preprompt, const char *prompt,
|
||||
read_string(const char *preprompt, const char *prompt,
|
||||
char *buf, size_t len, int echo)
|
||||
{
|
||||
int of = 0;
|
||||
@@ -86,13 +86,13 @@ read_string(const char *preprompt, const char *prompt,
|
||||
if(of)
|
||||
p--;
|
||||
*p = 0;
|
||||
|
||||
|
||||
if(echo == 0){
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
signal(SIGINT, oldsigintr);
|
||||
|
||||
|
||||
if(intr_flag)
|
||||
return -2;
|
||||
if(of)
|
||||
|
Reference in New Issue
Block a user