chiark / gitweb /
Do not use a random exit status when connchild gets 501 to mode stream
[innduct.git] / conn.c
diff --git a/conn.c b/conn.c
index 751c41083243403ba83a921a8d20df01113218ad..fa8316da46b47ae3e5f4a11cddfc533422382cd7 100644 (file)
--- a/conn.c
+++ b/conn.c
@@ -428,7 +428,7 @@ void connect_start(void) {
       default:
        warn("connect: unexpected response to MODE STREAM: %.50s",
             sanitise(buf,-1));
-       exitstatus= 2;
+       exitstatus= CONNCHILD_ESTATUS_NOSTREAM;
        break;
       }
     }