"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/server/manio.c" between
burp-2.3.14.tar.bz2 and burp-2.3.20.tar.bz2

About: Burp is a backup and restore program using librsync and also VSS (for Windows clients). Latest version.

manio.c  (burp-2.3.14.tar.bz2):manio.c  (burp-2.3.20.tar.bz2)
skipping to change at line 552 skipping to change at line 552
} }
return write_sig_msg(manio, blk); return write_sig_msg(manio, blk);
} }
int manio_write_sbuf(struct manio *manio, struct sbuf *sb) int manio_write_sbuf(struct manio *manio, struct sbuf *sb)
{ {
if(!manio->fzp && manio_open_next_fpath(manio)) return -1; if(!manio->fzp && manio_open_next_fpath(manio)) return -1;
return sbuf_to_manifest(sb, manio->fzp); return sbuf_to_manifest(sb, manio->fzp);
} }
int manio_write_cntr(struct manio *manio, struct sbuf *sb,
enum cntr_manio what)
{
if(!manio->fzp && manio_open_next_fpath(manio)) return -1;
return sbuf_to_manifest_cntr(sb, manio->fzp, what);
}
// Return -1 on error, 0 on OK, 1 for srcmanio finished. // Return -1 on error, 0 on OK, 1 for srcmanio finished.
int manio_copy_entry(struct sbuf *csb, struct sbuf *sb, int manio_copy_entry(struct sbuf *csb, struct sbuf *sb,
struct manio *srcmanio, struct manio *dstmanio, struct manio *srcmanio, struct manio *dstmanio,
const char *seed_src, const char *seed_dst) const char *seed_src, const char *seed_dst)
{ {
int ars; int ars;
struct iobuf copy1; struct iobuf copy1;
struct iobuf copy2; struct iobuf copy2;
struct blk *blk; struct blk *blk;
memset(&copy1, 0, sizeof(copy1)); memset(&copy1, 0, sizeof(copy1));
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

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