]> granicus.if.org Git - php/commitdiff
Fixing wrong pointer
authorFrank M. Kromann <fmk@php.net>
Thu, 2 May 2002 17:36:00 +0000 (17:36 +0000)
committerFrank M. Kromann <fmk@php.net>
Thu, 2 May 2002 17:36:00 +0000 (17:36 +0000)
ext/standard/info.c

index 2849094db11b3ce15a9c7e26eacfd3d813931716..46ca8327420aadbeb49f0b59f5967b8cf99df37b 100644 (file)
@@ -212,7 +212,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
        the_time = time(NULL);
        ta = php_localtime_r(&the_time, &tmbuf);
 
-       snprintf (&api_no, 9, "%d", ZEND_EXTENSION_API_NO);
+       snprintf (api_no, 9, "%d", ZEND_EXTENSION_API_NO);
 
        PUTS("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html>\n");