]> granicus.if.org Git - php/commitdiff
WS
authorIlia Alshanetsky <iliaa@php.net>
Fri, 6 Aug 2010 20:16:11 +0000 (20:16 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 6 Aug 2010 20:16:11 +0000 (20:16 +0000)
ext/standard/math.c

index 31848a3681710cf0ae6b13a4628f4f37d0cf37ba..9ee15dbc7be4596c16aeecc574b2b43812fa21ef 100644 (file)
@@ -691,10 +691,10 @@ PHP_FUNCTION(log)
                RETURN_FALSE;
        }
        if (base == 1) {
-                RETURN_DOUBLE(NAN);
+               RETURN_DOUBLE(NAN);
        } else {
-               RETURN_DOUBLE(log(num) / log(base));
-        }
+               RETURN_DOUBLE(log(num) / log(base));
+       }
 }
 /* }}} */