summaryrefslogtreecommitdiff
path: root/libadhocutil/buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libadhocutil/buffer.cpp')
-rw-r--r--libadhocutil/buffer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libadhocutil/buffer.cpp b/libadhocutil/buffer.cpp
index 934aee5..f0deedc 100644
--- a/libadhocutil/buffer.cpp
+++ b/libadhocutil/buffer.cpp
@@ -223,7 +223,6 @@ Buffer::writeto(char * buf, size_t bufSize, size_t off) const
*buf++ = (**f)[c++];
}
++f;
- off = 0;
}
*buf = '\0';
}