summaryrefslogtreecommitdiff
path: root/ext/mailparse/rfc2045cdecode.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 08:24:42 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 08:24:42 +0000
commitc43806f4152c3ff908c7ead039daf5e163700f0e (patch)
tree8e6eb9e2aef084f04a7bfeb7269dd4d5186ac0c4 /ext/mailparse/rfc2045cdecode.c
parent4187439cfffdbb2573453ea41a3c344632405f47 (diff)
downloadphp-git-c43806f4152c3ff908c7ead039daf5e163700f0e.tar.gz
Zend compatibility patch
Diffstat (limited to 'ext/mailparse/rfc2045cdecode.c')
-rwxr-xr-xext/mailparse/rfc2045cdecode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mailparse/rfc2045cdecode.c b/ext/mailparse/rfc2045cdecode.c
index 858f48dfde..8ec5d5de76 100755
--- a/ext/mailparse/rfc2045cdecode.c
+++ b/ext/mailparse/rfc2045cdecode.c
@@ -28,13 +28,14 @@ void rfc2045_cdecode_start(struct rfc2045 *p,
void *miscptr)
{
enum mbfl_no_encoding from = mbfl_no_encoding_8bit;
-
+ TSRMLS_FETCH();
+
if (p->content_transfer_encoding)
{
from = mbfl_name2no_encoding(p->content_transfer_encoding);
if (from == mbfl_no_encoding_invalid) {
zend_error(E_WARNING, "%s(): I don't know how to decode %s transfer encoding!",
- get_active_function_name(),
+ get_active_function_name(TSRMLS_C),
p->content_transfer_encoding);
from = mbfl_no_encoding_8bit;
}