Lines Matching refs:error
291 int error = errno; in ProcessRequest() local
292 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in ProcessRequest()
309 int error = getpart(&cmd, &cmdsize, "reply", "servercmd", stream); in ProcessRequest() local
311 if(error) { in ProcessRequest()
312 logmsg("getpart() failed with error: %d", error); in ProcessRequest()
600 int error = 0; in storerequest() local
615 } while(!dump && ((error = errno) == EINTR)); in storerequest()
618 dumpfile, error, strerror(error)); in storerequest()
631 } while((writeleft > 0) && ((error = errno) == EINTR)); in storerequest()
637 dumpfile, error, strerror(error)); in storerequest()
646 } while(res && ((error = errno) == EINTR)); in storerequest()
649 dumpfile, error, strerror(error)); in storerequest()
655 int error; in get_request() local
714 error = SOCKERRNO; in get_request()
715 logmsg("recv() returned error: (%d) %s", error, sstrerror(error)); in get_request()
776 int error = 0; in send_doc() local
861 error = errno; in send_doc()
862 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
867 error = getpart(&ptr, &count, "reply", partbuf, stream); in send_doc()
869 if(error) { in send_doc()
870 logmsg("getpart() failed with error: %d", error); in send_doc()
884 error = errno; in send_doc()
885 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
892 error = getpart(&cmd, &cmdsize, "reply", "postcmd", stream); in send_doc()
894 if(error) { in send_doc()
895 logmsg("getpart() failed with error: %d", error); in send_doc()
924 error = errno; in send_doc()
925 logmsg("fopen() failed with error: %d %s", error, strerror(error)); in send_doc()
981 } while(res && ((error = errno) == EINTR)); in send_doc()
984 responsedump, error, strerror(error)); in send_doc()
1022 error = errno; in send_doc()
1024 error, strerror(error)); in send_doc()
1064 int error; in main() local
1167 error = SOCKERRNO; in main()
1168 logmsg("Error creating socket: (%d) %s", error, sstrerror(error)); in main()
1175 error = SOCKERRNO; in main()
1177 error, sstrerror(error)); in main()
1200 error = SOCKERRNO; in main()
1202 port, error, sstrerror(error)); in main()
1221 error = SOCKERRNO; in main()
1223 error, sstrerror(error)); in main()
1254 error = SOCKERRNO; in main()
1256 error, sstrerror(error)); in main()
1281 error = SOCKERRNO; in main()
1283 error, sstrerror(error)); in main()