aboutsummaryrefslogtreecommitdiff
path: root/src/or/buffers.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-03-24 03:00:20 +0000
committerRoger Dingledine <arma@torproject.org>2003-03-24 03:00:20 +0000
commitb8da74d30a0f0c7fbde54351d040957e1f309f41 (patch)
tree0b355c56584becb6052cda85adede2d84787198d /src/or/buffers.c
parent9ac9db782aeacf62e2b625de0c629640f0ebdc25 (diff)
downloadtor-b8da74d30a0f0c7fbde54351d040957e1f309f41.tar
tor-b8da74d30a0f0c7fbde54351d040957e1f309f41.tar.gz
get rid of those nasty tabs
svn:r216
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r--src/or/buffers.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c
index b6faaa131..074b8be2c 100644
--- a/src/or/buffers.c
+++ b/src/or/buffers.c
@@ -138,8 +138,8 @@ int write_to_buf(char *string, int string_len,
#ifdef USE_ZLIB
int compress_from_buf(char *string, int string_len,
- char **buf_in, int *buflen_in, int *buf_datalen_in,
- z_stream *zstream, int flush) {
+ char **buf_in, int *buflen_in, int *buf_datalen_in,
+ z_stream *zstream, int flush) {
int err;
if (!*buf_datalen_in)
@@ -157,8 +157,8 @@ int compress_from_buf(char *string, int string_len,
case Z_OK:
case Z_STREAM_END:
log(LOG_DEBUG, "Compressed (%d/%d); filled (%d/%d).",
- *buf_datalen_in-zstream->avail_in, *buf_datalen_in,
- string_len-zstream->avail_out, string_len);
+ *buf_datalen_in-zstream->avail_in, *buf_datalen_in,
+ string_len-zstream->avail_out, string_len);
memmove(*buf_in, zstream->next_in, zstream->avail_in);
*buf_datalen_in = zstream->avail_in;
return string_len - zstream->avail_out;
@@ -173,8 +173,8 @@ int compress_from_buf(char *string, int string_len,
}
int decompress_buf_to_buf(char **buf_in, int *buflen_in, int *buf_datalen_in,
- char **buf_out, int *buflen_out, int *buf_datalen_out,
- z_stream *zstream, int flush)
+ char **buf_out, int *buflen_out, int *buf_datalen_out,
+ z_stream *zstream, int flush)
{
int err;
@@ -193,9 +193,9 @@ int decompress_buf_to_buf(char **buf_in, int *buflen_in, int *buf_datalen_in,
case Z_OK:
case Z_STREAM_END:
log(LOG_DEBUG, "Uncompressed (%d/%d); filled (%d/%d)",
- *buf_datalen_in-zstream->avail_in, *buf_datalen_in,
- (*buflen_out-*buf_datalen_out)-zstream->avail_out,
- (*buflen_out-*buf_datalen_out) );
+ *buf_datalen_in-zstream->avail_in, *buf_datalen_in,
+ (*buflen_out-*buf_datalen_out)-zstream->avail_out,
+ (*buflen_out-*buf_datalen_out) );
memmove(*buf_in, zstream->next_in, zstream->avail_in);
*buf_datalen_in = zstream->avail_in;
*buf_datalen_out = *buflen_out - zstream->avail_out;