aboutsummaryrefslogtreecommitdiffstats
path: root/extlibs
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-09-19 13:49:04 +0100
committerFreeArtMan <dos21h@gmail.com>2017-09-19 13:49:04 +0100
commitc2f9ce9c4b65ee53cd0c070895833215185061f3 (patch)
tree23ba9cde2a933448395d236ac4a87d22ee2d7282 /extlibs
parentfc6970fcd404305c3e16d2e90d6d0dec4b03c160 (diff)
downloadagni-c2f9ce9c4b65ee53cd0c070895833215185061f3.tar.gz
agni-c2f9ce9c4b65ee53cd0c070895833215185061f3.zip
New line bug fix, /b 5
Diffstat (limited to 'extlibs')
-rw-r--r--extlibs/nbrpc.c16
1 files changed, 8 insertions, 8 deletions
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();