mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-18 09:59:53 -04:00
Fix indent style. :)
This commit is contained in:
parent
58b7043acd
commit
cfe3c7675a
@ -86,7 +86,7 @@ int gzip_compress(GZIP_STREAM *gz) {
|
||||
if (gz->in == NULL)
|
||||
return -1;
|
||||
|
||||
out_size = (int)(1.05*gz->in_size) + 20;
|
||||
out_size = (int)(1.05*gz->in_size) + 40;
|
||||
gz->out = malloc(out_size);
|
||||
if (gz->out == NULL) {
|
||||
DPRINTF(E_INF,L_WS|L_DAAP,"out of memory for output buffer\n");
|
||||
@ -105,7 +105,7 @@ int gzip_compress(GZIP_STREAM *gz) {
|
||||
while ((status = deflate(&strm,Z_FINISH)) == Z_OK)
|
||||
;
|
||||
if (status != Z_STREAM_END) {
|
||||
DPRINTF(E_LOG,L_WS|L_DAAP,"unable to compress data\n");
|
||||
DPRINTF(E_LOG,L_WS|L_DAAP,"unable to compress data: %s (%d)\n",strm.msg,status);
|
||||
gz->bytes_out = 0;
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user