]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
Add comment to make it clear what string manipulations achieve
authorRichard Mortimer <none@none>
Tue, 25 Jan 2011 16:47:49 +0000 (16:47 +0000)
committerRichard Mortimer <none@none>
Tue, 25 Jan 2011 16:47:49 +0000 (16:47 +0000)
src/mlmmj-maintd.c

index f94f13b0f9f020631285a809d5453ea616cf6ba7..76f8f2483f8f2030e5ba85718521e2db95c4fa25 100644 (file)
@@ -548,6 +548,7 @@ int clean_nolongerbouncing(const char *listdir)
                        t = time(NULL);
                        if(t - probetime > WAITPROBE) {
                                unlink(filename);
+                               /* remove -probe onwards from filename */
                                *s = '\0';
                                unlink(filename);
                                s = concatstr(2, filename, ".lastmsg");