URL: https://github.com/SSSD/sssd/pull/710 Title: #710: data_provider_fo: fix error in hostname retrieval
jhrozek commented: """ I think this would fix the error, but I have two more questions: 1) Do you agree it would be nice to fix all gethostname() calls in a similar manner? 2) I like the sizeof(arr)/sizeof(elem) approach you took. I also now noticed, with the help of some git grep that we have this already defined as a macro called `N_ELEMENTS`, but only in the test code. Do you think it would make sense to move the macro to e.g. utils.h and reuse it outside the test code? """ See the full comment at https://github.com/SSSD/sssd/pull/710#issuecomment-445773513
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org