return result;
}
-#ifdef __AMIGA__
-static void AmigaSetComment(struct per_transfer *per,
- CURLcode result)
-{
- struct OutStruct *outs = &per->outs;
- if(!result && outs->s_isreg && outs->filename) {
- /* Set the url (up to 80 chars) as comment for the file */
- if(strlen(per->this_url) > 78)
- per->this_url[79] = '\0';
- SetComment(outs->filename, per->this_url);
- }
-}
-#else
-#define AmigaSetComment(x,y) Curl_nop_stmt
-#endif
-
/* When doing serial transfers, we use a single fixed error area */
static char global_errorbuffer[CURL_ERROR_SIZE];
}
}
- AmigaSetComment(per, result);
-
/* File time can only be set _after_ the file has been closed */
if(!result && config->remote_time && outs->s_isreg && outs->filename) {
/* Ask libcurl if we got a remote file time */