diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-11-12 14:05:52 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-11-12 14:05:52 -0800 |
commit | 317312bd23cf5c524932c6f12319ed3eed68d981 (patch) | |
tree | ba2b4862929b56ba6fee4013d4408ac87a62277f | |
parent | 62bfa9d421138ec538682eb0323fa9f438d6b2c7 (diff) |
Drop ancient workarounds for Cray that are no longer needed
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xhost.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -519,8 +519,8 @@ change_host(Display *dpy, char *name, Bool add) #endif ) { ha.family = FamilyInternet; - ha.length = 4; /* but for Cray would be sizeof(addr.s_addr) */ - ha.address = (char *)&addr; /* but for Cray would be &addr.s_addr */ + ha.length = sizeof(addr.s_addr); + ha.address = (char *) &addr.s_addr; if (add) { XAddHost (dpy, &ha); printf ("%s %s\n", name, add_msg); |