mirror of
https://github.com/curl/curl.git
synced 2026-04-24 14:52:13 +03:00
revert change introduced in tftpd.c revision 1.44
This commit is contained in:
parent
aec761916e
commit
445e4a9792
1 changed files with 6 additions and 6 deletions
|
|
@ -760,9 +760,9 @@ static void timer(int signum)
|
|||
*/
|
||||
static void sendtftp(struct testcase *test, struct formats *pf)
|
||||
{
|
||||
struct tftphdr * volatile dp;
|
||||
struct tftphdr * volatile ap; /* ack packet */
|
||||
volatile unsigned short block = 1;
|
||||
struct tftphdr *dp;
|
||||
struct tftphdr *ap; /* ack packet */
|
||||
unsigned short block = 1;
|
||||
int size;
|
||||
ssize_t n;
|
||||
#if defined(HAVE_ALARM) && defined(SIGALRM)
|
||||
|
|
@ -835,9 +835,9 @@ static void justtimeout(int signum)
|
|||
*/
|
||||
static void recvtftp(struct testcase *test, struct formats *pf)
|
||||
{
|
||||
struct tftphdr * volatile dp;
|
||||
struct tftphdr * volatile ap; /* ack buffer */
|
||||
volatile unsigned short block = 0;
|
||||
struct tftphdr *dp;
|
||||
struct tftphdr *ap; /* ack buffer */
|
||||
unsigned short block = 0;
|
||||
ssize_t n, size;
|
||||
#if defined(HAVE_ALARM) && defined(SIGALRM)
|
||||
mysignal(SIGALRM, timer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue