Lines Matching refs:error

263   int error;  in parse_servercmd()  local
270 error = errno; in parse_servercmd()
271 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in parse_servercmd()
283 error = getpart(&orgcmd, &cmdsize, "reply", "servercmd", stream); in parse_servercmd()
285 if(error) { in parse_servercmd()
286 logmsg("getpart() failed with error: %d", error); in parse_servercmd()
790 int error = 0; in storerequest() local
806 } while(!dump && ((error = errno) == EINTR)); in storerequest()
809 dumpfile, error, strerror(error)); in storerequest()
822 } while((writeleft > 0) && ((error = errno) == EINTR)); in storerequest()
828 dumpfile, error, strerror(error)); in storerequest()
837 } while(res && ((error = errno) == EINTR)); in storerequest()
840 dumpfile, error, strerror(error)); in storerequest()
957 int error = SOCKERRNO; in get_request() local
958 if(EAGAIN == error || EWOULDBLOCK == error) { in get_request()
962 logmsg("recv() returned error: (%d) %s", error, sstrerror(error)); in get_request()
1020 int error = 0; in send_doc() local
1100 error = errno; in send_doc()
1101 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1105 error = getpart(&ptr, &count, "reply", partbuf, stream); in send_doc()
1107 if(error) { in send_doc()
1108 logmsg("getpart() failed with error: %d", error); in send_doc()
1122 error = errno; in send_doc()
1123 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1129 error = getpart(&cmd, &cmdsize, "reply", "postcmd", stream); in send_doc()
1131 if(error) { in send_doc()
1132 logmsg("getpart() failed with error: %d", error); in send_doc()
1161 error = errno; in send_doc()
1162 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
1214 } while(res && ((error = errno) == EINTR)); in send_doc()
1217 responsedump, error, strerror(error)); in send_doc()
1255 error = errno; in send_doc()
1257 error, strerror(error)); in send_doc()
1287 int error; in connect_to() local
1308 error = SOCKERRNO; in connect_to()
1310 error, sstrerror(error)); in connect_to()
1328 error = SOCKERRNO; in connect_to()
1330 error, sstrerror(error)); in connect_to()
1375 error = SOCKERRNO; in connect_to()
1376 if((error == EINPROGRESS) || (error == EWOULDBLOCK)) { in connect_to()
1385 goto error; in connect_to()
1387 curl_socklen_t errSize = sizeof(error); in connect_to()
1389 (void *)&error, &errSize)) in connect_to()
1390 error = SOCKERRNO; in connect_to()
1391 if((0 == error) || (EISCONN == error)) in connect_to()
1393 else if((error != EINPROGRESS) && (error != EWOULDBLOCK)) in connect_to()
1394 goto error; in connect_to()
1403 error: in connect_to()
1405 port, error, sstrerror(error)); in connect_to()
1414 error = SOCKERRNO; in connect_to()
1416 error, sstrerror(error)); in connect_to()
1843 int error; in accept_connection() local
1860 error = SOCKERRNO; in accept_connection()
1861 if(EAGAIN == error || EWOULDBLOCK == error) { in accept_connection()
1866 error, sstrerror(error)); in accept_connection()
1871 error = SOCKERRNO; in accept_connection()
1873 error, sstrerror(error)); in accept_connection()
1880 error = SOCKERRNO; in accept_connection()
1882 error, sstrerror(error)); in accept_connection()
2010 int error; in main() local
2185 error = SOCKERRNO; in main()
2186 logmsg("Error creating socket: (%d) %s", error, sstrerror(error)); in main()
2193 error = SOCKERRNO; in main()
2195 error, sstrerror(error)); in main()
2199 error = SOCKERRNO; in main()
2201 error, sstrerror(error)); in main()
2228 error = SOCKERRNO; in main()
2232 unix_socket, error, sstrerror(error)); in main()
2236 port, error, sstrerror(error)); in main()
2255 error = SOCKERRNO; in main()
2257 error, sstrerror(error)); in main()
2294 error = SOCKERRNO; in main()
2295 logmsg("listen() failed with error: (%d) %s", error, sstrerror(error)); in main()
2366 error = SOCKERRNO; in main()
2367 logmsg("select() failed with error: (%d) %s", error, sstrerror(error)); in main()