mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
855f467474
commit
8996062276
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user