summaryrefslogtreecommitdiff
path: root/sapi/embed/php_embed.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-08-18 13:34:40 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-08-18 13:34:40 +0000
commit34b631f6799a9fc81980f3027865b6258452df43 (patch)
tree8c4a81845bd415e22417514c80787bfaadc42bdc /sapi/embed/php_embed.c
parent65d031d3da891ce12ddf41ffe676f16d0ac3db4e (diff)
downloadphp-git-34b631f6799a9fc81980f3027865b6258452df43.tar.gz
Pass the TSRMS pointers to sapi_module_struct.log_message, this saves some TSRMLS_FETCH() calls in a few of our SAPI's
Diffstat (limited to 'sapi/embed/php_embed.c')
-rw-r--r--sapi/embed/php_embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c
index 3f5e8dc2c3..9cce17aaf0 100644
--- a/sapi/embed/php_embed.c
+++ b/sapi/embed/php_embed.c
@@ -90,7 +90,7 @@ static void php_embed_send_header(sapi_header_struct *sapi_header, void *server_
{
}
-static void php_embed_log_message(char *message)
+static void php_embed_log_message(char *message TSRMLS_DC)
{
fprintf (stderr, "%s\n", message);
}