Implemented authentication for websocket connection

This commit is contained in:
Shuanglei Tao
2016-09-25 00:56:53 +08:00
parent b31676520c
commit 9174d6116c
5 changed files with 67 additions and 32 deletions

View File

@@ -36,8 +36,7 @@ t_malloc(size_t size) {
}
void t_free(void *p) {
if (p)
free(p);
free(p);
}
void *