diff options
author | xengineering <me@xengineering.eu> | 2022-11-20 11:02:46 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-11-20 11:02:46 +0100 |
commit | a4c0236316056a6ef3b6c885f523f0f0da8cdc23 (patch) | |
tree | 5832a143cfa123830537b47716bf80071c48adfa | |
parent | b377b8aa01f32fa5e6d59a64c84dfe8b50a6e63c (diff) | |
download | limox-a4c0236316056a6ef3b6c885f523f0f0da8cdc23.tar limox-a4c0236316056a6ef3b6c885f523f0f0da8cdc23.tar.zst limox-a4c0236316056a6ef3b6c885f523f0f0da8cdc23.zip |
Get env based credential parsing to xmpp.c
-rw-r--r-- | xmpp.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) |