]> wimlib.net Git - wimlib/blobdiff - src/resource.c
write.c, lookup table.c: cleanup
[wimlib] / src / resource.c
index dc5b7a806fe24d3bb61aad2bb5528ffd787e2a18..a7a831980b562e3915721ff62044d08e1da4ecb5 100644 (file)
@@ -576,7 +576,7 @@ read_partial_wim_resource(const struct wim_lookup_table_entry *lte,
                        while (size) {
                                size_t bytes_to_read = min(WIM_CHUNK_SIZE, size);
                                size_t bytes_read = fread(buf, 1, bytes_to_read, wim_fp);
-                               
+
                                if (bytes_read != bytes_to_read)
                                        goto read_error;
                                ret = cb(buf, bytes_read, ctx_or_buf);
@@ -850,6 +850,7 @@ sha1_chunk(const void *buf, size_t len, void *ctx)
        return 0;
 }
 
+/* Calculate the SHA1 message digest of a stream. */
 int
 sha1_resource(struct wim_lookup_table_entry *lte)
 {