From 9cfb674db90f091310c3e9a2bb449dff027549f4 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Fri, 2 Oct 2015 08:17:02 +0000 Subject: [PATCH] Fix compile error --- .svn-revision | 2 +- src/webserver/src/WebSocket.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.svn-revision b/.svn-revision index 53391361..65d71b36 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10876 +10877 diff --git a/src/webserver/src/WebSocket.cpp b/src/webserver/src/WebSocket.cpp index f29cce16..b206cf06 100644 --- a/src/webserver/src/WebSocket.cpp +++ b/src/webserver/src/WebSocket.cpp @@ -196,7 +196,7 @@ void CWebSocket::OnRequestReceived(char* pHeader, char* pData, uint32 dwDataLen) int sessid = 0; char *current_cookie = strstr(pHeader, "Cookie: "); if ( current_cookie == NULL ) { - *current_cookie = strstr(pHeader, "cookie: "); + current_cookie = strstr(pHeader, "cookie: "); } if ( current_cookie ) { current_cookie = strstr(current_cookie, "amuleweb_session_id"); -- 2.11.4.GIT