errno = 0;
result = readdir(directory);
- /* Reached end of dir stream or error out */
+ /* Reached end of dir stream or error out. */
if (!result) {
if (errno) {
PERROR("Failed to enumerate the contents of path \"%s\" while loading session, readdir returned", path);