diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:18:01 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2023-01-29 16:18:01 +0100 |
commit | e829867cc2d6879a0aeb50c08ae40ebc56b4e6b1 (patch) | |
tree | 7465150c86969e66a90e4b960bb3537485205842 /src/tc-misc.c | |
parent | 6c88f3bab0b743487b367712fa1ec27d1f87389e (diff) | |
parent | cd47bd564d7fc6177ba2e231d76bf352978409b8 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/tc-misc.c')
-rw-r--r-- | src/tc-misc.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/tc-misc.c b/src/tc-misc.c index cb985a3..5b043d4 100644 --- a/src/tc-misc.c +++ b/src/tc-misc.c @@ -1,10 +1,4 @@ -/* - * Copyright Jan Engelhardt - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the WTF Public License version 2 or - * (at your option) any later version. - */ +// SPDX-License-Identifier: MIT #ifndef __cplusplus # include <stdlib.h> #else @@ -38,7 +32,8 @@ int main(int argc, const char **argv) if (stat(argv[1], &sa) < 0 || stat(argv[2], &sb) < 0) perror("stat"); - printf("Difference: %ld\n", HX_time_compare(&sa, &sb, 'm')); + else + printf("Difference: %ld\n", HX_time_compare(&sa, &sb, 'm')); } HX_exit(); |