diff options
| author | Jesper Jensen <jesper@jnsn.dev> | 2025-06-19 17:33:09 +0200 |
|---|---|---|
| committer | Jesper Jensen <jesper@jnsn.dev> | 2025-06-19 17:33:09 +0200 |
| commit | c1be1fdaa93fb0c492047f2f57c238e8d42b50eb (patch) | |
| tree | 898467f363938f4b1e08d743430c65d68f6ed634 /src/main.c | |
| parent | 47091526d2526e243b0322a5652d01e588ef1475 (diff) | |
Correct duplicate check
I though it was a cool feature that C allowed you to implicitly memcmp
statically sized arrays. It turns out it doesn't, it was just comparing
their pointers which are obviously not equal.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -163,7 +163,6 @@ int main(int argc, char** argv) { dht.self = myID; } - metric_init(); routing_update_metrics(); peer_update_metrics(); |
