diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-06-14 09:01:54 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-06-14 09:01:54 +1000 |
commit | 47e713be94464b6ed7be0186e79c3f7b73f99936 (patch) | |
tree | dc38f80f6c4b45a81b4e29d2cd4382c84b9b3fa4 /mux.c | |
parent | d9526a5e96e4515afec28df42b13d08bd02f754a (diff) | |
download | openssh-git-47e713be94464b6ed7be0186e79c3f7b73f99936.tar.gz |
- dtucker@cvs.openbsd.org 2008/06/13 17:21:20
[mux.c]
Friendlier error messages for mux fallback. ok djm@
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: mux.c,v 1.6 2008/06/13 00:47:53 dtucker Exp $ */ +/* $OpenBSD: mux.c,v 1.7 2008/06/13 17:21:20 dtucker Exp $ */ /* * Copyright (c) 2002-2008 Damien Miller <djm@openbsd.org> * @@ -594,11 +594,11 @@ muxclient(const char *path) /* Get authorisation status and PID of controlee */ if (ssh_msg_recv(sock, &m) == -1) { - error("%s: msg_recv", __func__); + error("%s: Did not receive reply from master", __func__); goto muxerr; } if (buffer_get_char(&m) != SSHMUX_VER) { - error("%s: wrong version", __func__); + error("%s: Master replied with wrong version", __func__); goto muxerr; } if (buffer_get_int_ret(&allowed, &m) != 0) { |