projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f5cbe9
)
ignore -p when called from telnetd
author
Art Cancro
<ajc@citadel.org>
Sat, 14 May 2016 15:09:19 +0000
(11:09 -0400)
committer
Art Cancro
<ajc@citadel.org>
Sat, 14 May 2016 15:09:19 +0000
(11:09 -0400)
textclient/src/citadel.c
patch
|
blob
|
history
diff --git
a/textclient/src/citadel.c
b/textclient/src/citadel.c
index 52765a76b4a20870a0a37e898f51a3b30fcbcca4..5e8cc6203e7f964d4bdff2d549a8d0f376e1f63e 100644
(file)
--- a/
textclient/src/citadel.c
+++ b/
textclient/src/citadel.c
@@
-1464,6
+1464,10
@@
int main(int argc, char **argv)
return 1;
#endif
}
+ if (!strcmp(argv[a], "-p")) {
+ // ignore this argument when called from telnetd
+ argc = shift(argc, argv, a, 1);
+ }
}
screen_new();