now the generated "data" file matches the old one

strlen -> str_len
This commit is contained in:
leitner
2004-02-05 00:08:49 +00:00
parent 723522bcaa
commit ee32353df2
13 changed files with 32 additions and 28 deletions

View File

@@ -7,7 +7,7 @@ int bstr_diff2(const char* a,const char* b,unsigned int blen) {
const char* A,* B;
int j;
/* like str_diff, just for bstrs */
if (*a) A=a+strlen(a); else { A=a+5+uint32_read(a+1); a+=5; }
if (*a) A=a+str_len(a); else { A=a+5+uint32_read(a+1); a+=5; }
B=b+blen;
for (;;) {
if (a==A) {