Update src/lfs.c

Fix Windows build: make_link now returns int as it should
This commit is contained in:
Mikhael-Danilov
2013-02-20 22:19:05 +04:00
parent 9c2679f9d7
commit b21e375840

View File

@@ -408,7 +408,7 @@ static int make_link(lua_State *L)
return pushresult(L,
(lua_toboolean(L,3) ? symlink : link)(oldpath, newpath), NULL);
#else
pusherror(L, "make_link is not supported on Windows");
return pusherror(L, "make_link is not supported on Windows");
#endif
}