"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/sbuf.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.

sbuf.c  (burp-2.3.14.tar.bz2):sbuf.c  (burp-2.3.20.tar.bz2)
skipping to change at line 131 skipping to change at line 131
if(sb->link.buf if(sb->link.buf
&& iobuf_send_msg_fzp(&sb->link, fzp)) && iobuf_send_msg_fzp(&sb->link, fzp))
return -1; return -1;
if(sb->endfile.buf if(sb->endfile.buf
&& iobuf_send_msg_fzp(&sb->endfile, fzp)) && iobuf_send_msg_fzp(&sb->endfile, fzp))
return -1; return -1;
return 0; return 0;
} }
int sbuf_to_manifest_cntr(struct sbuf *sb, struct fzp *fzp,
enum cntr_manio what)
{
if(!sb->path.buf) return 0;
fzp_printf(fzp, "%c", (char)what);
return iobuf_send_msg_fzp(&sb->path, fzp);
}
// Like pathcmp, but sort entries that have the same paths so that metadata // Like pathcmp, but sort entries that have the same paths so that metadata
// comes later, and vss comes earlier, and trailing vss comes later. // comes later, and vss comes earlier, and trailing vss comes later.
int sbuf_pathcmp(struct sbuf *a, struct sbuf *b) int sbuf_pathcmp(struct sbuf *a, struct sbuf *b)
{ {
return iobuf_pathcmp(&a->path, &b->path); return iobuf_pathcmp(&a->path, &b->path);
} }
enum parse_ret enum parse_ret
{ {
PARSE_RET_ERROR=-1, PARSE_RET_ERROR=-1,
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

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