From fdf2597b77bd079d6f34350d5b281e7a95405a24 Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 2 Aug 2023 14:47:32 -0600 Subject: [PATCH] Initialize creds to 0 (No real deficiency exsisted beforehand) --- Makefile | 3 ++- src/main.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 78616d1..272e85c 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,3 @@ -main: +# note that this does not properly handle options +probotic: ./build.sh diff --git a/src/main.c b/src/main.c index 768abd8..0b8265d 100644 --- a/src/main.c +++ b/src/main.c @@ -38,7 +38,7 @@ main(int argc, if (argc != 4) { ERR(1, "server port channel"); } /* Arguments */ - creds_t credentials; + creds_t credentials = {0}; char const * server = argv[1]; int const port = atoi(argv[2]); channel = argv[3];