summaryrefslogtreecommitdiff
path: root/ext/zip/lib/mkstemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/lib/mkstemp.c')
-rw-r--r--ext/zip/lib/mkstemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zip/lib/mkstemp.c b/ext/zip/lib/mkstemp.c
index d1df8a5ca4..df265be214 100644
--- a/ext/zip/lib/mkstemp.c
+++ b/ext/zip/lib/mkstemp.c
@@ -64,7 +64,7 @@ _zip_mkstemp(char *path)
return ret;
}
#else
- int fd;
+ int fd;
char *start, *trv;
struct stat sbuf;
pid_t pid;
@@ -82,7 +82,7 @@ _zip_mkstemp(char *path)
if (*trv == 'X')
xcnt++;
else
- xcnt = 0;
+ xcnt = 0;
/* Use at least one from xtra. Use 2 if more than 6 X's. */
if (*(trv - 1) == 'X')