comparison dbutil.c @ 1030:1fff5d7163f6 fastopen

merge
author Matt Johnston <matt@ucc.asn.au>
date Thu, 19 Feb 2015 22:42:30 +0800
parents ea4676b840ef 5ad81aa19c2d
children 0da8ba489c23
comparison
equal deleted inserted replaced
1029:ea4676b840ef 1030:1fff5d7163f6
1068 1068
1069 break; /* Success. Treated the same as EINPROGRESS */ 1069 break; /* Success. Treated the same as EINPROGRESS */
1070 #endif 1070 #endif
1071 #else 1071 #else
1072 { 1072 {
1073 struct msghdr message = {0}; 1073 struct msghdr message;
1074 int flags; 1074 int flags;
1075 int res; 1075 int res;
1076 memset(&message, 0x0, sizeof(message));
1076 message.msg_name = r->ai_addr; 1077 message.msg_name = r->ai_addr;
1077 message.msg_namelen = r->ai_addrlen; 1078 message.msg_namelen = r->ai_addrlen;
1078 1079
1079 if (c->writequeue) { 1080 if (c->writequeue) {
1080 int iovlen; /* Linux msg_iovlen is a size_t */ 1081 int iovlen; /* Linux msg_iovlen is a size_t */