projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix segfault when using tincctl's shell without readline.
[tinc]
/
src
/
tincctl.c
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
a515259
..
f384dd7
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-1916,7
+1916,7
@@
static int cmd_shell(int argc, char *argv[]) {
}
#else
if(tty)
- fputs(
stdout, promp
t);
+ fputs(
prompt, stdou
t);
line = fgets(buf, sizeof buf, stdin);
#endif