Commit 0305b581 authored by Andrea Zoli's avatar Andrea Zoli
Browse files

Fix debug prints on ByteStreams compress/decompress.

parent dd3350ee
Loading
Loading
Loading
Loading
+8 −2
Original line number Original line Diff line number Diff line
@@ -165,8 +165,8 @@ ByteStreamPtr PacketLib::ByteStream::compress(enum CompressionAlgorithms algorit
		}
		}
	}
	}
#ifdef DEBUG
#ifdef DEBUG
	cout << "Buffer Size: " << size() << endl;
	cout << "Buffer decompressed size: " << size() << endl;
	cout << "Buffer Compressed Size: " << b->size() << endl;
	cout << "Buffer compressed size: " << b->size() << endl;
#endif
#endif
	return b;
	return b;
}
}
@@ -202,6 +202,12 @@ ByteStreamPtr PacketLib::ByteStream::decompress(enum CompressionAlgorithms algor
		}
		}
	}
	}


#ifdef DEBUG
	cout << "dmax: " << dmax << endl;
	cout << "Buffer compressed size: " << size() << endl;
	cout << "Buffer decompressed size: " << b->size() << endl;
#endif

	return b;
	return b;
}
}