~brianaker/libmemcached/gear-clean

« back to all changes in this revision

Viewing changes to libmemcachedprotocol/binary_handler.c

  • Committer: Brian Aker
  • Date: 2012-10-25 06:28:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1088.
  • Revision ID: brian@tangent.org-20121025062822-0nun5qpq42x1zvqs
A number of small build fixes found while looking at mingw support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    return PROTOCOL_BINARY_RESPONSE_EINTERNAL;
77
77
  }
78
78
 
79
 
  size_t len= sizeof(protocol_binary_response_header) + htonl(response->response.bodylen);
 
79
  size_t len= sizeof(protocol_binary_response_header) + memcached_htonl(response->response.bodylen);
80
80
  size_t offset= 0;
81
81
  char *ptr= (void*)response;
82
82