Clean-up: coding style adjustments
[babeltrace.git] / plugins / ctf / fs-sink / write.c
index feee19472fe086fc7c3a90258e734b50f0ad0053..b3ad7462eb4f43caeb3a46471b25238833f4304a 100644 (file)
@@ -195,13 +195,14 @@ bool valid_single_trace_path(const char *path)
        DIR *dir = opendir(path);
        int ret;
 
-       /* non-existent directory. */
+       /* Non-existent directory. */
        if (!dir) {
                ret = 0;
                goto end;
        }
 
        while ((d = readdir(dir)) != NULL) {
+               /* Ignore "." and ".." directories. */
                if (++n > 2) {
                        break;
                }
This page took 0.031335 seconds and 4 git commands to generate.