Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Fix websocket issue (r76) on 32bit build.

  • Loading branch information...
commit c195d4204bc5dc50bc6e83c3379c63933f45e843 1 parent a5d079c
@paraboul paraboul authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/handle_http.c
View
4 src/handle_http.c 100755 → 100644
@@ -70,10 +70,10 @@ subuser *checkrecv_websocket(ape_socket *co, acetables *g_ape)
WebSockets protocol rev 76 (Opening handshake)
http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76
*/
-static unsigned int ws_compute_key(const char *value)
+static long int ws_compute_key(const char *value)
{
const char *pValue;
- long int val = 0;
+ long long int val = 0;
int spaces = 0;
for (pValue = value; *pValue != '\0'; pValue++) {
Please sign in to comment.
Something went wrong with that request. Please try again.