Lines Matching refs:code
1 /* This source code was modified by Martin Hedenfalk <mhe@stacken.kth.se> for
6 * it not use globals, pollute name space and more. This source code awaits a
21 * 1. Redistributions of source code must retain the above copyright
150 CURLcode code;
154 code = Curl_read_plain(fd, to_p, len, &nread);
155 if(code == CURLE_OK) {
161 if(code == CURLE_AGAIN)
163 return code;
178 CURLcode code;
182 code = Curl_write_plain(conn, fd, to_p, len, &written);
183 if(code == CURLE_OK) {
189 if(code == CURLE_AGAIN)
191 return code;
416 /* FIXME: The error code returned here is never checked. */
419 int code;
437 code = ftp_send_command(conn, "PBSZ %u", buffer_size);
438 if(code < 0)
441 if(code/100 != 2) {
457 code = ftp_send_command(conn, "PROT %c", level_to_char(level));
459 if(code < 0)
462 if(code/100 != 2) {
527 "returned ftp code: 504).\n", mech_name);
531 "ftp code: 534).\n", mech_name);