summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-04-30 14:47:05 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2015-04-30 14:47:05 (GMT)
commitb77b747c4776171c3c153ed7d5e110b94ba89acc (patch)
treeb77d2571841a5d1dcc85469eca297e74c814b1a9
parent8df2d96098e7beb1af54f0eb0478a094a417a921 (diff)
white space cleanups and typos
-rw-r--r--README4
-rw-r--r--src/lua-mq.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index 0943dee..ac3d0f8 100644
--- a/README
+++ b/README
@@ -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;