X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=attribute.c;h=ffe841025c1f7776e0bf33e35a951953abc48160;hp=8c1f5c535e5b42460b1b4a0fe41fb426b16cc3cb;hb=5f511d41a111aa04189b32fd77d02e16f90ff2cc;hpb=fd5f94274de04e4dfed9bea8aadac661262d7cca diff --git a/attribute.c b/attribute.c index 8c1f5c53..ffe84102 100644 --- a/attribute.c +++ b/attribute.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2013 Andre Noll + * Copyright (C) 1997-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -212,10 +212,7 @@ int com_lsatt(struct command_context *cc) if (ret < 0) send_strerror(cc, -ret); else if (ret == 0 && cc->argc > 1) - ret = cc->use_sideband? - send_sb_va(&cc->scc, SBD_ERROR_LOG, "no matches\n") - : - sc_send_va_buffer(&cc->scc, "no matches\n"); + ret = send_sb_va(&cc->scc, SBD_ERROR_LOG, "no matches\n"); return ret; }