Mercurial > hg > dmlib
comparison src/dmzlib.c @ 990:76f3961a044b
Fix one function name.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 28 Feb 2015 05:06:36 +0200 |
parents | 14b82bd5a408 |
children | acd91a57fe8c |
comparison
equal
deleted
inserted
replaced
989:d66b0b6c8bf8 | 990:76f3961a044b |
---|---|
418 | 418 |
419 return DMERR_OK; | 419 return DMERR_OK; |
420 } | 420 } |
421 | 421 |
422 | 422 |
423 static int dmZLibParseUncompresedBlock(DMZLibContext * ctx) | 423 static int dmZLibParseUncompressedBlock(DMZLibContext * ctx) |
424 { | 424 { |
425 Uint8 header[4]; | 425 Uint8 header[4]; |
426 int len, nlen, k, ret; | 426 int len, nlen, k, ret; |
427 | 427 |
428 if (ctx->numBits & 7) | 428 if (ctx->numBits & 7) |
514 { | 514 { |
515 final = dmZReceive(ctx, 1); | 515 final = dmZReceive(ctx, 1); |
516 type = dmZReceive(ctx, 2); | 516 type = dmZReceive(ctx, 2); |
517 if (type == 0) | 517 if (type == 0) |
518 { | 518 { |
519 if ((ret = dmZLibParseUncompresedBlock(ctx)) != DMERR_OK) | 519 if ((ret = dmZLibParseUncompressedBlock(ctx)) != DMERR_OK) |
520 return ret; | 520 return ret; |
521 } | 521 } |
522 else | 522 else |
523 if (type == 3) | 523 if (type == 3) |
524 return 0; | 524 return 0; |