diff options
Diffstat (limited to 'functions.c')
-rw-r--r-- | functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.c b/functions.c index a1faf16..8557f7a 100644 --- a/functions.c +++ b/functions.c @@ -1195,7 +1195,7 @@ int addclientcode(int sourcefd, char *code, struct clientcodes *clientcodes, str debugprint(DEBUG_SOME, "addclientcode(): Adding client code '%s' if it doesn't already exist.\n", code); // Make sure there aren't too many client codes already - int counter; + int counter = 0; for (int i = 0; i < MAXCLIENTCODES; i++) { if (clientcodes[i].code[0]) { counter++; |