(saveargv): Lame attempt at protecting users who foolishly specify

passwords on the command line.  Antisocially zaps the complete command
line, not just the password.  Remove, at least for now.
(main): Update accordingly.
This commit is contained in:
Markus Armbruster 2007-11-16 20:27:09 +00:00
parent f757843ca5
commit b631cf944f
4 changed files with 2 additions and 60 deletions

View file

@ -67,7 +67,6 @@ int recvline(int s, char *buf);
int expect(int s, int match, char *buf);
int tcp_connect(char *, char *);
int login(int s, char *uname, char *cname, char *cpass, int kill_proc, int);
void saveargv(int ac, char **src, char **dst);
void sendcmd(int s, char *cmd, char *arg);
void servercmd(struct ioqueue *ioq, FILE *auxfi);
int serverio(int s, struct ioqueue *ioq);