mirror of
https://github.com/curl/curl.git
synced 2026-06-29 15:56:04 +03:00
parent
75955c0851
commit
0afb52a0cd
16 changed files with 182 additions and 168 deletions
|
|
@ -116,7 +116,7 @@ static struct tool_mime *tool_mime_new_filedata(struct tool_mime *parent,
|
|||
m->data = filedup;
|
||||
if(!isremotefile)
|
||||
m->kind = TOOLMIME_FILEDATA;
|
||||
*errcode = CURLE_OK;
|
||||
*errcode = CURLE_OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1654,15 +1654,15 @@ static ParameterError parse_upload_flags(struct OperationConfig *config,
|
|||
}
|
||||
}
|
||||
|
||||
if(!map->name) {
|
||||
err = PARAM_OPTION_UNKNOWN;
|
||||
break;
|
||||
}
|
||||
if(!map->name) {
|
||||
err = PARAM_OPTION_UNKNOWN;
|
||||
break;
|
||||
}
|
||||
|
||||
if(next)
|
||||
/* move over the comma */
|
||||
next++;
|
||||
flag = next;
|
||||
if(next)
|
||||
/* move over the comma */
|
||||
next++;
|
||||
flag = next;
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
|
|||
|
|
@ -60,15 +60,12 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
long sts;
|
||||
short chan;
|
||||
|
||||
/* MSK, 23-JAN-2004, iosbdef.h was not in VAX V7.2 or CC 6.4 */
|
||||
/* distribution so I created this. May revert back later to */
|
||||
/* struct _iosb iosb; */
|
||||
struct _iosb
|
||||
{
|
||||
short int iosb$w_status; /* status */
|
||||
short int iosb$w_bcnt; /* byte count */
|
||||
int unused; /* unused */
|
||||
} iosb;
|
||||
/* iosbdef.h was not in VAX V7.2 or CC 6.4 */
|
||||
struct _isb {
|
||||
short int iosb$w_status; /* status */
|
||||
short int iosb$w_bcnt; /* byte count */
|
||||
int unused; /* unused */
|
||||
} iosb;
|
||||
|
||||
$DESCRIPTOR(ttdesc, "TT");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue