"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib-compression/bench-compression.c" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

bench-compression.c  (dovecot-2.3.16):bench-compression.c  (dovecot-2.3.17)
skipping to change at line 157 skipping to change at line 157
} }
o_stream_nsend(os, buf, sizeof(buf)); o_stream_nsend(os, buf, sizeof(buf));
} }
i_assert(o_stream_finish(os) == 1); i_assert(o_stream_finish(os) == 1);
o_stream_unref(&os); o_stream_unref(&os);
printf("Input data constructed \n"); printf("Input data constructed \n");
for (unsigned int i = 0; compression_handlers[i].name != NULL; i++) T_BEG IN { for (unsigned int i = 0; compression_handlers[i].name != NULL; i++) T_BEG IN {
if (compression_handlers[i].create_istream != NULL) { if (compression_handlers[i].create_istream != NULL &&
compression_handlers[i].create_ostream != NULL) {
bench_compression_speed(&compression_handlers[i], level, bench_compression_speed(&compression_handlers[i], level,
block_count); block_count);
} }
} T_END; } T_END;
i_unlink("decompressed.bin"); i_unlink("decompressed.bin");
i_unlink("compressed.bin"); i_unlink("compressed.bin");
lib_deinit(); lib_deinit();
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)