From: Baptiste Daroussin Date: Mon, 9 Jan 2023 13:45:41 +0000 (+0100) Subject: mlmmj-bounce: fix using the wrong variable X-Git-Tag: RELEASE_1_4_0_a2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40ecf6fa7982b394dedddf63ff3a458e79fb3218;p=thirdparty%2Fmlmmj.git mlmmj-bounce: fix using the wrong variable --- diff --git a/src/mlmmj-bounce.c b/src/mlmmj-bounce.c index 34e31364..965bc4cb 100644 --- a/src/mlmmj-bounce.c +++ b/src/mlmmj-bounce.c @@ -63,7 +63,7 @@ void do_probe(const char *listdir, const char *mlmmjsend, const char *addr, int fd; time_t t; - myaddr = xstrdup(addr); + myaddr = lowercase(addr); listaddr = getlistaddr(ctrlfd); listname = genlistname(listaddr); @@ -231,7 +231,7 @@ int main(int argc, char **argv) if (probe) { /* send out a probe */ - do_probe(listdir, mlmmjsend, address, listfd, ctrlfd); + do_probe(listdir, mlmmjsend, thisaddr, listfd, ctrlfd); /* do_probe() will never return */ exit(EXIT_FAILURE); }