From c2f9ce9c4b65ee53cd0c070895833215185061f3 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Tue, 19 Sep 2017 13:49:04 +0100 Subject: New line bug fix, /b 5 --- extlibs/nbrpc.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'extlibs/nbrpc.c') diff --git a/extlibs/nbrpc.c b/extlibs/nbrpc.c index 2e8d6c3..9adde5d 100644 --- a/extlibs/nbrpc.c +++ b/extlibs/nbrpc.c @@ -79,12 +79,12 @@ int rpc_req_marsh( rpc_request *req, netbyte_store **nb_req) nb_add_u8arr(nb, &nb_params); nb_u32_create(&nb_id, req->id); - PRINT("%d\n", req->id); - PRINT("%d\n", nb_id.val); + //PRINT("%d\n", req->id); + //PRINT("%d\n", nb_id.val); nb_add_u32(nb, &nb_id); - nb_print(nb); - nb_print(nb); + //nb_print(nb); + //nb_print(nb); *nb_req = nb; return 0; @@ -108,8 +108,8 @@ int rpc_resp_marsh( rpc_response *resp, netbyte_store **nb_resp) eret |= nb_add_u8arr(nb, &nb_error); eret = nb_u32_create(&nb_id, resp->id); - PRINT("%d\n", resp->id); - PRINT("%d\n", nb_id.val); + //PRINT("%d\n", resp->id); + //PRINT("%d\n", nb_id.val); eret |= nb_add_u32(nb, &nb_id); if (!eret) { @@ -163,7 +163,7 @@ int rpc_req_unmarsh( netbyte_store *nb_req, rpc_request **req) if (0 == nb_val(nb_req, 2, &type)) if (type->type == NBT_U32) { - PNL(); + //PNL(); nb_u32 *u32 = (nb_u32 *)type->nb_val; __req->id = u32->val; } else @@ -220,7 +220,7 @@ int rpc_resp_unmarsh(netbyte_store *nb_resp, rpc_response **resp) PNL(); nb_u32 *u32 = (nb_u32 *)type->nb_val; __resp->id = u32->val; - PRINT("%d\n",u32->val) + //PRINT("%d\n",u32->val) } else { ENL(); -- cgit v1.2.3