if ((s.st_mtime > item->mtime) &&
(s.st_mtime - 3600 != item->mtime)) {
debug_print("MH scan required, folder updated: %s (%ld > %ld)\n",
- path?path:"(null)",
+ path,
(long int) s.st_mtime,
(long int) item->mtime);
g_free(path);
}
debug_print("MH scan not required: %s (%ld <= %ld)\n",
- path?path:"(null)",
+ path,
(long int) s.st_mtime,
(long int) item->mtime);
g_free(path);
#ifdef G_OS_UNIX
if (*rootpath == '/') {
#elif defined G_OS_WIN32
- if (g_ascii_isalpha(*rootpath) && !strncmp(rootpath + 1, "\:", 2)) {
+ if (g_ascii_isalpha(*rootpath) && !strncmp(rootpath + 1, ":\\", 2)) {
#endif
/* Folder path is absolute. */
rootpath = g_strdup(rootpath);