From 395957ed1e55d7f95e5a3589420fa321d7d6e8b2 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 27 Nov 2022 18:12:03 +0100 Subject: Remove SDL2-based LimoX This commit is part of the maintenance branch of the legacy GTK4 / libstrophe version of LimoX. Thus SDL2 and self-written XMPP stuff is not needed anymore. --- xmpp.c | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 xmpp.c (limited to 'xmpp.c') diff --git a/xmpp.c b/xmpp.c deleted file mode 100644 index 865b235..0000000 --- a/xmpp.c +++ /dev/null @@ -1,54 +0,0 @@ - - -#include -#include -#include -#include -#include - - -/* - * Get the domainpart of the Jabber ID (JID). - * See https://datatracker.ietf.org/doc/html/rfc7622#section-3.2 for details. - */ -char *domainpart(char *jid) -{ - int start = 0; // inclusive - int stop = strlen(jid); // exclusive - - for(int i=0; i