* the likeliness of us forgetting to init a buffer here in the future.
*/
outcurl->state.headerbuff = malloc(HEADERSIZE);
- if(!outcurl->state.headerbuff) {
+ if(!outcurl->state.headerbuff)
break;
- }
- outcurl->state.headersize=HEADERSIZE;
+ outcurl->state.headersize = HEADERSIZE;
/* copy all userdefined values */
if(Curl_dupset(outcurl, data) != CURLE_OK)
data->cookies->filename,
outcurl->cookies,
data->set.cookiesession);
- if(!outcurl->cookies) {
+ if(!outcurl->cookies)
break;
- }
}
#endif /* CURL_DISABLE_HTTP */
fail = FALSE; /* we reach this point and thus we are OK */
break;
-
}
if(fail) {
return CURLE_REMOTE_FILE_NOT_FOUND;
}
return wc_statemach(conn);
- } break;
+ }
case CURLWC_DOWNLOADING: {
/* filelist has at least one file, lets get first one */
wildcard->state = (wildcard->filelist->size == 0) ?
CURLWC_CLEAN : CURLWC_DOWNLOADING;
return wc_statemach(conn);
- } break;
+ }
case CURLWC_CLEAN: {
struct ftp_wc_tmpdata *ftp_tmp = wildcard->tmp;