diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-04-30 16:47:05 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-04-30 16:47:05 +0200 |
commit | b77b747c4776171c3c153ed7d5e110b94ba89acc (patch) | |
tree | b77d2571841a5d1dcc85469eca297e74c814b1a9 | |
parent | updated debian package version (diff) |
white space cleanups and typos
-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; |