Mercurial > pidgin
changeset 10660:4b3a952b395e
[gaim-migrate @ 12194]
HEAD doesn't compile on this box, so hopefully this change is OK.
The glibc guys apparently decided to invoke their POSIX perogative to
make read() a macro, which busted some ssl junk in Novell. This fully
parenthesizes a function pointer dereference, preventing it from being
macro-expanded by the preprocessor.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sun, 06 Mar 2005 22:09:30 +0000 |
parents | 861ae6ee7b6c |
children | f02873d475dc |
files | src/protocols/novell/nmconn.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/novell/nmconn.c Sun Mar 06 16:32:40 2005 +0000 +++ b/src/protocols/novell/nmconn.c Sun Mar 06 22:09:30 2005 +0000 @@ -220,7 +220,7 @@ if (!conn->use_ssl) return (read(conn->fd, buff, len)); else if (conn->ssl_conn && conn->ssl_conn->read) - return (conn->ssl_conn->read(conn->ssl_conn->data, buff, len)); + return ((conn->ssl_conn->read)(conn->ssl_conn->data, buff, len)); else return -1; }