summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-04-08 09:20:43 +0200
committerAnatol Belski <ab@php.net>2013-04-08 09:20:43 +0200
commitb0b81c0a37b33ee6b302c828831a2d1488994cb5 (patch)
treed338b3f65820753b0b32cac88aac7a8c69e7c96f
parent10367fa7c6a4a2cf9bee02d8905e284185428f09 (diff)
downloadphp-git-b0b81c0a37b33ee6b302c828831a2d1488994cb5.tar.gz
fixed EOL
-rw-r--r--ext/fileinfo/libmagic/apprentice.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/fileinfo/libmagic/apprentice.c b/ext/fileinfo/libmagic/apprentice.c
index ef65a7ecc0..8c729d13b9 100644
--- a/ext/fileinfo/libmagic/apprentice.c
+++ b/ext/fileinfo/libmagic/apprentice.c
@@ -1145,14 +1145,14 @@ apprentice_load(struct magic_set *ms, const char *fn, int action)
if (action == FILE_CHECK)
(void)fprintf(stderr, "%s\n", usg_hdr);
- {
- /* XXX the maxmagic has to be reset each time we load some new magic file.
- Where file commando is used it's not essential as the CLI process
- ends, multiple loading within the same process wouldn't work. */
- int k;
- for (k = 0; k < MAGIC_SETS; k++) {
- maxmagic[k] = 0;
- }
+ {
+ /* XXX the maxmagic has to be reset each time we load some new magic file.
+ Where file commando is used it's not essential as the CLI process
+ ends, multiple loading within the same process wouldn't work. */
+ int k;
+ for (k = 0; k < MAGIC_SETS; k++) {
+ maxmagic[k] = 0;
+ }
}
/* load directory or file */