X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=client_common.c;h=a3a471aedaab1f79a3f3091bf61572a716248598;hb=36ba180901dd97003208ee6c51b0795cf351cb03;hp=7bdb4738bab5feb15b4c7acb1180decb61ccfda5;hpb=f652ce6afe7f6fd0e42814505234cbf4321a736e;p=paraslash.git diff --git a/client_common.c b/client_common.c index 7bdb4738..a3a471ae 100644 --- a/client_common.c +++ b/client_common.c @@ -345,6 +345,11 @@ static void client_post_select(struct sched *s, struct task *t) if (ret < 0 || n == 0) goto out; ct->features = parse_features(buf); + if (!has_feature("sideband", ct)) { + PARA_ERROR_LOG("server has no sideband support\n"); + ret = -E_INCOMPAT_FEAT; + goto out; + } ct->status = CL_RECEIVED_WELCOME; return; case CL_RECEIVED_WELCOME: /* send auth command */