Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfe66d98 authored by Joe Onorato's avatar Joe Onorato Committed by Gerrit Code Review
Browse files

Merge "Always use a positive value for timestamp"

parents 7b2a2936 6955f0c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -666,7 +666,7 @@ int64_t WorkDirectory::make_timestamp_ns_locked() {
        clock_gettime(CLOCK_REALTIME, &spec);
        timestampNs = int64_t(spec.tv_sec) * 1000 + spec.tv_nsec;
    } while (file_exists_locked(timestampNs));
    return timestampNs;
    return (timestampNs >= 0)? timestampNs : -timestampNs;
}

/**