summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-04-03 12:41:14 +0200
committerantirez <antirez@gmail.com>2013-04-03 12:41:14 +0200
commit8419397665432f7933dfe244938147e6dc4174eb (patch)
treeec225fc35d1d780a1bc2ab8e25d7b831d9414134
parentb237de33d1462e81ac30277033fe2bdffe994784 (diff)
downloadredis-8419397665432f7933dfe244938147e6dc4174eb.tar.gz
Make rio.c comment 80-columns friendly.
-rw-r--r--src/rio.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rio.h b/src/rio.h
index 43eae0cad..ba17469f8 100644
--- a/src/rio.h
+++ b/src/rio.h
@@ -43,10 +43,11 @@ struct _rio {
size_t (*read)(struct _rio *, void *buf, size_t len);
size_t (*write)(struct _rio *, const void *buf, size_t len);
off_t (*tell)(struct _rio *);
- /* The update_cksum method if not NULL is used to compute the checksum of all the
- * data that was read or written so far. The method should be designed so that
- * can be called with the current checksum, and the buf and len fields pointing
- * to the new block of data to add to the checksum computation. */
+ /* The update_cksum method if not NULL is used to compute the checksum of
+ * all the data that was read or written so far. The method should be
+ * designed so that can be called with the current checksum, and the buf
+ * and len fields pointing to the new block of data to add to the checksum
+ * computation. */
void (*update_cksum)(struct _rio *, const void *buf, size_t len);
/* The current checksum */