rewrite client demo by lua, remove old C version client demo

This commit is contained in:
Cloud Wu
2014-04-14 17:00:42 +08:00
parent 1e9a27232b
commit 904b68b5a5
45 changed files with 11717 additions and 12 deletions

View File

@@ -175,7 +175,8 @@ save_uncomplete(lua_State *L, int fd) {
static inline int
read_size(uint8_t * buffer) {
return (int)buffer[0] << 8 | (int)buffer[1];
int r = (int)buffer[0] << 8 | (int)buffer[1];
return r;
}
static void