com php-src: Fix spaces to tabs: ext/zlib/zlib.c

From: Date: Wed, 22 Apr 2015 05:10:34 +0000
Subject: com php-src: Fix spaces to tabs: ext/zlib/zlib.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86432@lists.php.net to get a copy of this message
Commit: 2798714645ad66cdd07a70cc36a9b036826728e0 Author: Daniel Lowrey <rdlowrey@php.net> Tue, 21 Apr 2015 23:10:34 -0600 Parents: 37c2ea3b1cd0a7d86573209aad1c2158c84b4c02 Branches: deflate Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2798714645ad66cdd07a70cc36a9b036826728e0 Log: Fix spaces to tabs Changed paths: M ext/zlib/zlib.c Diff: diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index b1f1d71..3e8d2af 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -767,19 +767,19 @@ PHP_FUNCTION(deflate_init) } if (options && (option_buffer = zend_symtable_str_find(options, "memory", sizeof("memory")-1)) != NULL) { - if (Z_TYPE_P(option_buffer) != IS_LONG) { - ZVAL_DUP(&cast_option_buffer, option_buffer); - convert_to_long(&cast_option_buffer); - memory = Z_LVAL(cast_option_buffer); - zval_dtor(&cast_option_buffer); - } else { - memory = Z_LVAL_P(option_buffer); - } - } - if (memory < 1 || memory > 9) { - php_error_docref(NULL, E_WARNING, "compression memory level (%pd) must be within 1..9", memory); - RETURN_FALSE; - } + if (Z_TYPE_P(option_buffer) != IS_LONG) { + ZVAL_DUP(&cast_option_buffer, option_buffer); + convert_to_long(&cast_option_buffer); + memory = Z_LVAL(cast_option_buffer); + zval_dtor(&cast_option_buffer); + } else { + memory = Z_LVAL_P(option_buffer); + } + } + if (memory < 1 || memory > 9) { + php_error_docref(NULL, E_WARNING, "compression memory level (%pd) must be within 1..9", memory); + RETURN_FALSE; + } /* @TODO: in the future we may add "strategy" and "dictionary" options */

« previous php.cvs (#86432) next »