[systemd-devel] sd_id128_equal borked

Shawn Landden shawnlandden at gmail.com
Fri Feb 27 15:48:27 PST 2015


_sd_pure_ static inline int sd_id128_equal(sd_id128_t a, sd_id128_t b) {
        return memcmp(&a, &b, 16) == 0;
}

this should either be return memcmp(&a, &b, 16);
or return bool

-- 

---
Shawn Landden
ChurchOfGit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150227/a33d71dc/attachment.html>


More information about the systemd-devel mailing list