aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-06-17 20:47:24 +0000
committerOmar Polo <op@omarpolo.com>2024-06-17 20:47:24 +0000
commitfb8311e48f5ee4a4d11299ee7aadabca581eb1da (patch)
tree31437cade13a8308a1ed7c06c4078e3efbd3e34d /gmid.h
parent27c6dc180f5ae74ef07f444ee3732ff95ca5bfff (diff)
replace asserts with error returns
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gmid.h b/gmid.h
index 7cb8de1..8c8ec7c 100644
--- a/gmid.h
+++ b/gmid.h
@@ -34,7 +34,6 @@
#include <time.h>
#include <tls.h>
#include <unistd.h>
-#include <assert.h>
#include <openssl/x509.h>
@@ -60,8 +59,6 @@
#define GMID_VERSION "gmid/" VERSION
-#define ASSERT_MSG(expr, msg) assert(((void)msg, (expr)))
-
#define GEMINI_URL_LEN (1024+3) /* URL max len + \r\n + \0 */
#define SUCCESS 20