diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-04 21:27:28 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-04 21:27:28 +0000 |
commit | 8996062276c8a7528ed575b41ffea80f37aa1137 (patch) | |
tree | 94bbc23225a48958b076786a4198c57a91ed4034 /src/core | |
parent | 855f467474cd7c77620a6579cbca7cfb88f94991 (diff) | |
download | irssi-8996062276c8a7528ed575b41ffea80f37aa1137.zip |
moved the two { chars inside #ifdef #else #endif to one { outside it, so it won't confuse some parsers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2295 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/misc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/misc.c b/src/core/misc.c index 112f0bd2..f67e8c7d 100644 --- a/src/core/misc.c +++ b/src/core/misc.c @@ -430,10 +430,11 @@ int mkpath(const char *path, int mode) dir = g_strndup(path, (int) (p-path)); if (stat(dir, &statbuf) != 0) { #ifndef WIN32 - if (mkdir(dir, mode) == -1) { + if (mkdir(dir, mode) == -1) #else - if (_mkdir(dir) == -1) { + if (_mkdir(dir) == -1) #endif + { g_free(dir); return -1; } |