| Patch Simple-patch for amqp Bug #62324Patch version 2012-06-18 15:38 UTCReturn to Bug #62324 |
Download this patch Patch Revisions:
 Developer: jpauli@php.net
Index: trunk/amqp.c
===================================================================
--- trunk/amqp.c	(révision 326218)
+++ trunk/amqp.c	(copie de travail)
@@ -749,15 +749,10 @@
 */
 PHP_MINFO_FUNCTION(amqp)
 {
-	/* Build date time from compiler macros */
-	char datetime[32];
-	char **pstr = (char **)&datetime;
-	spprintf(pstr, 0, "%s @ %s", __DATE__, __TIME__);
-
 	php_info_print_table_start();
 	php_info_print_table_header(2, "Version",					"1.0.2");
 	php_info_print_table_header(2, "Revision",					"$Revision$");
-	php_info_print_table_header(2, "Compiled",					*pstr);
+	php_info_print_table_header(2, "Compiled",					__DATE__ " @ " __TIME__);
 	php_info_print_table_header(2, "AMQP protocol version", 	"0-9-1");
 	DISPLAY_INI_ENTRIES();
 |