Re: GnuTLS | Draft: fix mingw (!2076)
Read-only notification of GnuTLS library development activities <[email protected]>
| Newsgroups | gmane.comp.encryption.gpg.gnutls.devel |
|---|---|
| Message-ID | <[email protected]> |
Daiki Ueno started a new discussion on tests/name-constraints-ip.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/2076#note_3123287687
> _gnutls_x509_name_constraints_merge(gnutls_x509_name_constraints_t nc,
> gnutls_x509_name_constraints_t nc2);
>
> -static void check_for_error(int ret)
> -{
> - if (ret != GNUTLS_E_SUCCESS)
> - fail_msg("error in %d: %s\n", __LINE__, gnutls_strerror(ret));
> -}
> +#define check_for_error(ret) \
Why? I generally prefer a regular function rather than a macro; maybe we could make `static inline` though.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/2076#note_3123287687
You're receiving this email because of your account on gitlab.com. Unsubscribe from this thread: https://gitlab.com/-/sent_notifications/3-77hsezrsqnbni2at3qiv94gid/unsubscribe | Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
Gnutls-devel mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-devel