diff options
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | src/lua-mq.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,10 +1,10 @@ LuaMQ 0.1 -http://www.spreadspace.org/luamq/ +http://www.spreadspace.org/lua-mq/ LuaMQ is a simple interface from Lua to posix message queues. It allows interprocess communication using posix message queues. -LuaMQ is free software and uses the same license as Lua 5.1. +LuaMQ is free software and uses the same license as Lua 5.1. Source code for LuaMQ can be downloaded from the project page. diff --git a/src/lua-mq.c b/src/lua-mq.c index c8c5b73..07cd2ef 100644 --- a/src/lua-mq.c +++ b/src/lua-mq.c @@ -3,7 +3,7 @@ #include <sys/stat.h> #include <mqueue.h> -#define _XOPEN_SOURCE 600 +#define _XOPEN_SOURCE 600 #include <errno.h> #include <string.h> #include <stdlib.h> @@ -21,7 +21,7 @@ static const struct { char c; mode_t b; } M[] = static int get_mode(mode_t *mode, const char* modestr) { int i; - + *mode = S_IRWXU; for (i=0; i<9; i++) { if(*modestr == 0) break; |