Fix some errors with previous commits

This commit is contained in:
Francesco Abbate committed 2022-01-09 23:26:11 +01:00
1 parent 6584bdfd33
commit 44a8dc320b
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -139,7 +139,6 @@ DMON_API_IMPL bool dmon_watch_rm(dmon_watch_id id, const char* watchdir)
}
}
if (i >= c) {
*error_code = DMON_ERROR_SUBDIR_LOCATION;
if (!skip_lock)
pthread_mutex_unlock(&_dmon.mutex);
return false;