X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=attribute.c;h=5a3861bed37ff9689ef171091b009db71df5ad28;hp=638e22ea70fe5e5bb5ebac55f0e296db387adc5c;hb=277ed4a605f68118aff9e671f16c0ac6edb1d55a;hpb=01a7db579a518a1a03b940a5a42411e49123ac1b diff --git a/attribute.c b/attribute.c index 638e22ea..5a3861be 100644 --- a/attribute.c +++ b/attribute.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2012 Andre Noll + * Copyright (C) 1997-2013 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; }