summaryrefslogtreecommitdiff
path: root/xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmpp.c')
-rw-r--r--xmpp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmpp.c b/xmpp.c
index d9645d1..be677fc 100644
--- a/xmpp.c
+++ b/xmpp.c
@@ -1,11 +1,17 @@
+#include <stdlib.h>
#include <stdio.h>
void net_init(void)
{
printf("net_init()\n");
+
+ char* user_str = getenv("LIMOX_USER");
+ char* pwd_str = getenv("LIMOX_PWD");
+
+ printf("Trying to connect as '%s' with '%s'.\n", user_str, pwd_str);
}
void net_quit(void)