summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/protocol/server/src/server-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c
index 6603ea42c43..c3b8d31d6d8 100644
--- a/xlators/protocol/server/src/server-protocol.c
+++ b/xlators/protocol/server/src/server-protocol.c
@@ -3099,7 +3099,7 @@ server_writev (call_frame_t *frame, xlator_t *bound_xl,
if (iobuf) {
iobref = iobref_new ();
- iobref_add (iobref, state->iobuf);
+ iobref_add (iobref, iobuf);
state->iobuf = iobuf;
state->iobref = iobref;