diff options
author | Damien Miller <djm@mindrot.org> | 2019-04-03 17:47:40 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-04-03 17:47:40 +0200 |
commit | 885bc114692046d55e2a170b932bdc0092fa3456 (patch) | |
tree | e2ef15934af05aca008237e4a8dbb614dfbb791e /session.c | |
parent | upstream: when logging/fataling on error, include a bit more detail (diff) | |
download | openssh-885bc114692046d55e2a170b932bdc0092fa3456.tar.xz openssh-885bc114692046d55e2a170b932bdc0092fa3456.zip |
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) he = gethostbyname(hostname); if (he == NULL) { error("Can't get IP address for X11 DISPLAY."); - packet_send_debug("Can't get IP address for X11 DISPLAY."); + ssh_packet_send_debug(ssh, "Can't get IP address for X11 DISPLAY."); return 0; } memcpy(&my_addr, he->h_addr_list[0], sizeof(struct in_addr)); |