Return to cmds.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.71, 2012/10/15 21:20:05 | version 1.72, 2014/08/16 07:49:27 | ||
---|---|---|---|
|
|
||
#include <stdlib.h> | #include <stdlib.h> | ||
#include <string.h> | #include <string.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
#include <errno.h> | |||
#include "ftp_var.h" | #include "ftp_var.h" | ||
#include "pathnames.h" | #include "pathnames.h" | ||
|
|
||
void | void | ||
proxabort(int signo) | proxabort(int signo) | ||
{ | { | ||
int save_errno = errno; | |||
alarmtimer(0); | alarmtimer(0); | ||
if (!proxy) { | if (!proxy) { | ||
|
|
||
proxflag = 0; | proxflag = 0; | ||
} | } | ||
pswitch(0); | pswitch(0); | ||
errno = save_errno; | |||
longjmp(abortprox, 1); | longjmp(abortprox, 1); | ||
} | } | ||