diff options
author | Sander Roobol <sander@php.net> | 2003-01-26 09:13:31 +0000 |
---|---|---|
committer | Sander Roobol <sander@php.net> | 2003-01-26 09:13:31 +0000 |
commit | e9d0a58cb073490f4625d2c06322d2319671345d (patch) | |
tree | 72e1bfd796e58e9020d9fed635cf6e1a31a1a9a0 /ext/mime_magic | |
parent | 33ad63ef8c3a365edc89d63d3133cdb055dd813f (diff) | |
download | php-git-e9d0a58cb073490f4625d2c06322d2319671345d.tar.gz |
Fix build
Diffstat (limited to 'ext/mime_magic')
-rw-r--r-- | ext/mime_magic/mime_magic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index b127a72228..cd4914a040 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -359,10 +359,9 @@ static int apprentice(void) char line[BUFSIZ + 1]; int errs = 0; int lineno; - TSRMLS_FETCH(); - char *fname; magic_server_config_rec *conf = &mime_global; + TSRMLS_FETCH(); fname = conf->magicfile; /* todo cwd? */ f = fopen(fname, "rb"); |