This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Fork of libMiMic by Ryo Iizuka

Files at this revision

API Documentation at this revision

Comitter:
nyatla
Date:
Wed Jun 10 05:20:02 2015 +0000
Parent:
111:f525c6e5e27b
Child:
113:e40058804062
Commit message:
fix issue; https://developer.mbed.org/users/nyatla/code/libMiMic/issues/3

Changed in this revision

core/net/httpd/mod/NyLPC_cModWebSocket.c Show annotated file Show diff for this revision Revisions of this file
--- a/core/net/httpd/mod/NyLPC_cModWebSocket.c	Mon Mar 16 14:19:16 2015 +0000
+++ b/core/net/httpd/mod/NyLPC_cModWebSocket.c	Wed Jun 10 05:20:02 2015 +0000
@@ -663,7 +663,7 @@
 		s=2;
 	}else{
 		w[1]=126;
-		s=3;
+		s=4;
 		*((NyLPC_TUInt16*)(&(w[2])))=NyLPC_htons(i_len);
 	}
 	if(!NyLPC_iHttpPtrStream_write(NyLPC_cHttpdConnection_refStream(i_inst->_ref_connection),w,s)){