summaryrefslogtreecommitdiff
path: root/examples/basic.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic.c')
-rw-r--r--examples/basic.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/basic.c b/examples/basic.c
index e3bf12c..55597a8 100644
--- a/examples/basic.c
+++ b/examples/basic.c
@@ -1,3 +1,11 @@
+/**
+ @file basic.c
+ @brief A reference rexmpp-based client.
+ @author defanor <defanor@uberspace.net>
+ @date 2020--2021
+ @copyright MIT license.
+*/
+
#include <string.h>
#include <stdio.h>
#include <errno.h>
@@ -230,4 +238,5 @@ main (int argc, char **argv) {
/* Deinitialise the rexmpp structure in the end, freeing whatever it
allocated. */
rexmpp_done(&s);
+ return 0;
}