diff options
author | dos-reis <gdr@axiomatics.org> | 2013-06-30 05:00:15 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-06-30 05:00:15 +0000 |
commit | a55fc6a97340fb8a42eab82f97f1693971e75567 (patch) | |
tree | a6722d4cc310b00ffc6a0cca21b52ba916c6a6dc /src/hyper | |
parent | acefbb3a16acf5752ee60579b21d67a4f20676f2 (diff) | |
download | open-axiom-a55fc6a97340fb8a42eab82f97f1693971e75567.tar.gz |
Simplify 'server' definition and use.
Diffstat (limited to 'src/hyper')
-rw-r--r-- | src/hyper/spadint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hyper/spadint.c b/src/hyper/spadint.c index d31ed6da..7699a653 100644 --- a/src/hyper/spadint.c +++ b/src/hyper/spadint.c @@ -1,7 +1,7 @@ /* Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd. All rights reserved. - Copyright (C) 2007-2010, Gabriel Dos Reis. + Copyright (C) 2007-2013, Gabriel Dos Reis. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -350,8 +350,8 @@ accept_menu_server_connection(HyperDocPage *page) continue; } - if (server[1].socket > 0 && FD_ISSET(server[1].socket, &rd)) { - sock = accept_menu_connection(server + 1); + if (server.socket > 0 && FD_ISSET(server.socket, &rd)) { + sock = accept_menu_connection(&server); if (sock == 0) return; if (sock->purpose == InterpWindow) { |