aboutsummaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-10-11 12:05:17 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-10-11 12:05:17 +0200
commit4848354bb90360e8895e15bb5ca74913155c4bcc (patch)
tree4e7e5d1beb35033cf21761924cee0295e4501a2d /common.c
parent8028c7fa47642b452038176004bea3a8966811ac (diff)
downloadxK-4848354bb90360e8895e15bb5ca74913155c4bcc.tar.gz
xK-4848354bb90360e8895e15bb5ca74913155c4bcc.tar.xz
xK-4848354bb90360e8895e15bb5ca74913155c4bcc.zip
Get rid of the remaining FAILs
Diffstat (limited to 'common.c')
-rw-r--r--common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/common.c b/common.c
index 4bbebd9..347e82b 100644
--- a/common.c
+++ b/common.c
@@ -34,13 +34,6 @@
#include <arpa/inet.h>
#include <netinet/tcp.h>
-/// Shorthand to set an error and return failure from the function
-#define FAIL(...) \
- BLOCK_START \
- error_set (e, __VA_ARGS__); \
- return 0; \
- BLOCK_END
-
// --- To be moved to liberty --------------------------------------------------
static ssize_t