Mercurial > hg > dmlib
comparison src/dmres.c @ 1038:3c1ca37809e3
Oops, 100L.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 01 Mar 2015 17:00:17 +0200 |
parents | 1a0a327d8fed |
children | ebabf5aefb76 |
comparison
equal
deleted
inserted
replaced
1037:d674ddc0fc82 | 1038:3c1ca37809e3 |
---|---|
343 res = DMERR_MALLOC; | 343 res = DMERR_MALLOC; |
344 goto out; | 344 goto out; |
345 } | 345 } |
346 | 346 |
347 // Initialize decompression | 347 // Initialize decompression |
348 memset(&zstr, 0, sizeof(zstr); | 348 memset(&zstr, 0, sizeof(zstr)); |
349 zstr.next_out = handle->rawData; | 349 zstr.next_out = handle->rawData; |
350 zstr.avail_out = handle->rawSize; | 350 zstr.avail_out = handle->rawSize; |
351 cdataLeft = node->length; | 351 cdataLeft = node->length; |
352 | 352 |
353 if (inflateInit(&zstr) != Z_OK) | 353 if (inflateInit(&zstr) != Z_OK) |