Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
general improvements
[gitweb.git]
/
compat
/
mkdtemp.c
diff --git
a/compat/mkdtemp.c
b/compat/mkdtemp.c
index 34d4b49818b0896b9db19b2b1387f142cbbbd42b..11361195925c674423309d40f343c88f58b7bc1e 100644
(file)
--- a/
compat/mkdtemp.c
+++ b/
compat/mkdtemp.c
@@
-2,7
+2,7
@@
char *gitmkdtemp(char *template)
{
- if (!mktemp(template) || mkdir(template, 0700))
+ if (!
*
mktemp(template) || mkdir(template, 0700))
return NULL;
return template;
}