diff options
author | Damien Miller <djm@mindrot.org> | 2019-04-04 02:47:40 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-04-04 02:47:40 +1100 |
commit | 885bc114692046d55e2a170b932bdc0092fa3456 (patch) | |
tree | e2ef15934af05aca008237e4a8dbb614dfbb791e /session.c | |
parent | 9d7b2882b0c9a5e9bf8312ce4075bf178e2b98be (diff) |
session: Do not use removed API
from Jakub Jelen
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2620,7 +2620,7 @@ session_setup_x11fwd(struct ssh *ssh, Session *s) | |||
2620 | he = gethostbyname(hostname); | 2620 | he = gethostbyname(hostname); |
2621 | if (he == NULL) { | 2621 | if (he == NULL) { |
2622 | error("Can't get IP address for X11 DISPLAY."); | 2622 | error("Can't get IP address for X11 DISPLAY."); |
2623 | packet_send_debug("Can't get IP address for X11 DISPLAY."); | 2623 | ssh_packet_send_debug(ssh, "Can't get IP address for X11 DISPLAY."); |
2624 | return 0; | 2624 | return 0; |
2625 | } | 2625 | } |
2626 | memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr)); | 2626 | memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr)); |