projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ignore -p when called from telnetd
[citadel.git]
/
textclient
/
src
/
citadel.c
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();