aboutsummaryrefslogtreecommitdiffstats
path: root/src/security.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/security.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/security.c b/src/security.c
index ff67d95..fc409b1 100644
--- a/src/security.c
+++ b/src/security.c
@@ -34,9 +34,12 @@
#include "security.h"
-#define close(fd) while (((close)(fd) < 0) && (errno == EINTR))
-
+/**
+ * Called on failure.
+ *
+ * @param str The function that failed.
+ */
static void fail(const char* str)
{
perror(str);