From: mmj Date: Tue, 8 Jun 2004 14:15:05 +0000 (+1000) Subject: Handle bouncing bounce probes X-Git-Tag: RELEASE_1_0_0~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=339d516404f0b30e01dc9c9decd61fb178f84417;p=thirdparty%2Fmlmmj.git Handle bouncing bounce probes --- diff --git a/src/mlmmj-bounce.c b/src/mlmmj-bounce.c index 8a42a252..e5f5e28a 100644 --- a/src/mlmmj-bounce.c +++ b/src/mlmmj-bounce.c @@ -252,6 +252,15 @@ int main(int argc, char **argv) free(a); exit(EXIT_SUCCESS); } + /* Below checks for bounce probes bouncing. If they do, simply remove + * the probe file and exit successfully + */ + if(strncmp(number, "probe", 5) == 0) { + a = concatstr(4, listdir, "/bounce/", address, "-probe"); + unlink(a); + free(a); + exit(EXIT_SUCCESS); + } /* save the filename with '=' before replacing it with '@' */ bfilename = concatstr(3, listdir, "/bounce/", address);