Correct wrong formatting string for coroutines.
This commit is contained in:
parent
720e826d4d
commit
afe144d554
|
@ -122,7 +122,7 @@ int coroutine_iter_next(struct co_obj *obj){
|
|||
const char *data = luaL_checklstring(L,-1,&size);
|
||||
struct netbuf *nb;
|
||||
struct kore_buf *kb = kore_buf_alloc(4096);
|
||||
kore_buf_appendf(kb,"%x\r\n",size);
|
||||
kore_buf_appendf(kb,"%lu\r\n",size);
|
||||
kore_buf_append(kb,data,size);
|
||||
kore_buf_appendf(kb,"\r\n");
|
||||
//size_t ssize;
|
||||
|
|
Loading…
Reference in New Issue