1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Merge pull request #1267 from emkw/master

lua: mkdir API functions should return ERROR on error.
This commit is contained in:
Sébastien Helleu
2018-10-14 21:03:24 +02:00
committed by GitHub
+3 -3
View File
@@ -541,7 +541,7 @@ API_FUNC(mkdir_home)
if (weechat_mkdir_home (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(mkdir)
@@ -559,7 +559,7 @@ API_FUNC(mkdir)
if (weechat_mkdir (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(mkdir_parents)
@@ -577,7 +577,7 @@ API_FUNC(mkdir_parents)
if (weechat_mkdir_parents (directory, mode))
API_RETURN_OK;
API_RETURN_OK;
API_RETURN_ERROR;
}
API_FUNC(list_new)