# HG changeset patch # User Ethan Blanton # Date 1110146970 0 # Node ID 4b3a952b395eec7d038f487bc615d65944f34bd5 # Parent 861ae6ee7b6c2dd4d969777228e0d6e2cd2e3c24 [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 diff -r 861ae6ee7b6c -r 4b3a952b395e src/protocols/novell/nmconn.c --- 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; }