client: remove debug printf() for compressed iolog
[fio.git] / client.c
index c61301de99dd2bfbcb9c4d35b91108fa0ba276be..515cbf2e178aae746d04a61ccfa0aab4b2d976c6 100644 (file)
--- a/client.c
+++ b/client.c
@@ -226,13 +226,12 @@ static void fio_drain_client_text(struct fio_client *client)
                if (!cmd)
                        break;
 
-               if (cmd->opcode != FIO_NET_CMD_TEXT) {
-                       free(cmd);
-                       continue;
+               if (cmd->opcode == FIO_NET_CMD_TEXT) {
+                       convert_text(cmd);
+                       client->ops->text(client, cmd);
                }
 
-               convert_text(cmd);
-               client->ops->text(client, cmd);
+               free(cmd);
        } while (1);
 }
 
@@ -1461,7 +1460,6 @@ static struct cmd_iolog_pdu *convert_iolog(struct fio_net_cmd *cmd,
                return NULL;
 #endif
                ret = convert_iolog_gz(cmd, pdu);
-               printf("compressed iolog, %p\n", ret);
                if (!ret) {
                        log_err("fio: failed decompressing log\n");
                        return NULL;