We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e78493 commit e362fbcCopy full SHA for e362fbc
bsdiff.c
@@ -294,7 +294,7 @@ static int bsdiff_internal(const struct bsdiff_request req)
294
lenb-=lens;
295
};
296
297
- ctrlnext[0]=lenf;
+ ctrlnext[0]=lenf;
298
ctrlnext[1]=(scan-lenb)-(lastscan+lenf);
299
ctrlnext[2]=(pos-lenb)-(lastpos+lenf);
300
@@ -340,7 +340,7 @@ static int bsdiff_internal(const struct bsdiff_request req)
340
offtout(ctrlcur[2],buf+16);
341
342
/* Write control data */
343
- if (writedata(req.stream, buf, sizeof(buf)))
+ if (writedata(req.stream, buf, sizeof(buf), BSDIFF_WRITECONTROL))
344
return -1;
345
346
0 commit comments