mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-07-12 18:03:50 +00:00
f32e415aea
fread(unique_id, UNIQUEID_CHARS, 1, fd) returns the number of items read (1 on success), not bytes, so the != UNIQUEID_CHARS comparison is always true. Any existing uniqueid.dat is silently ignored and rewritten with the default 0123456789ABCDEF on every run, making a custom per-device uniqueid impossible.