Correct wrong formatting string for coroutines.

This commit is contained in:
Robin Malley 2022-11-23 22:12:04 +00:00
parent 720e826d4d
commit afe144d554
1 changed files with 1 additions and 1 deletions

View File

@ -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;