From 87ad7a345e811666a19b307b738298c7d24c0de3 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Thu, 14 Jan 2010 14:02:36 -0800 Subject: [PATCH] Remove some debugging messages. --- nfs3/rpc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nfs3/rpc.c b/nfs3/rpc.c index 6717512..92c17c8 100644 --- a/nfs3/rpc.c +++ b/nfs3/rpc.c @@ -188,8 +188,6 @@ async_rpc_send_failure(RPCRequest *req, enum accept_stat stat) { struct rpc_fail_reply header; - fprintf(stderr, "Sending RPC failure status %d\n", stat); - header.xid = htonl(req->xid); header.type = htonl(1); /* REPLY */ header.stat = htonl(MSG_ACCEPTED); @@ -238,7 +236,6 @@ async_rpc_send_reply(RPCRequest *req, void *result) header.accept_stat = 0; gsize msg_size = str->len; - printf("Have an RPC reply of size %zd bytes\n", msg_size); uint32_t fragment = htonl((msg_size + sizeof(header)) | 0x80000000); async_rpc_write(req->connection, (const char *)&fragment, sizeof(fragment)); async_rpc_write(req->connection, (const char *)&header, sizeof(header)); @@ -540,8 +537,6 @@ static gboolean async_rpc_dispatch(RPCConnection *rpc) if (buf - msg->str > msg->len) return FALSE; - printf("Dispatching RPC procedure %d...\n", proc); - req->raw_args = msg; req->raw_args_header_bytes = buf - msg->str; req->req_proc = ntohl(header->proc); -- 2.20.1