1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

lua: mkdir API functions should return ERROR on error.

This commit is contained in:
emk
2018-10-14 20:39:00 +02:00
parent 8d1dcb666a
commit 63e2a3dab9
+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)