X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.c;h=715df9c6a3aa8b107ef4bcfdffaad9a0c1abea2f;hp=6268c3de8892f921045e18f2f7e7560ada8c5083;hb=277ed4a605f68118aff9e671f16c0ac6edb1d55a;hpb=4ac3134c050ba28b57e0ae9686eb1f6d83e6d586 diff --git a/client.c b/client.c index 6268c3de..715df9c6 100644 --- a/client.c +++ b/client.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. */ @@ -307,7 +307,7 @@ static void setatt_completer(struct i9e_completion_info *ci, free(orig); } sl[2 * num_atts] = NULL; - ret = i9e_extract_completions(ci->word, sl, &cr->matches); + i9e_extract_completions(ci->word, sl, &cr->matches); out: free(buf); free_argv(sl); @@ -612,7 +612,7 @@ int main(int argc, char *argv[]) case -E_BTR_EOF: ret = 0; break; - default: ret = ct->task.error; + default: ret = -E_SERVER_CMD_FAILURE; } } out: