[Xfce4-commits] <xfce4-dict:master> Send the QUIT command always, also in case of errors

Enrico Tröger noreply at xfce.org
Mon Jan 3 01:12:03 CET 2011


Updating branch refs/heads/master
         to aef72cd999786bcc19d473bf6e3a97b802574189 (commit)
       from 9f69259fc2bef4786821840ca7a4d2ae847bea81 (commit)

commit aef72cd999786bcc19d473bf6e3a97b802574189
Author: Enrico Tröger <enrico.troeger at uvena.de>
Date:   Mon Jan 3 00:51:52 2011 +0100

    Send the QUIT command always, also in case of errors

 lib/dictd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/dictd.c b/lib/dictd.c
index 4e16db9..a9de054 100644
--- a/lib/dictd.c
+++ b/lib/dictd.c
@@ -610,8 +610,8 @@ static gpointer ask_server(DictData *dd)
 		dd->dictionary[i] = ' ';
 
 		dd->query_buffer = get_answer(dd, fd);
-		send_command(fd, "QUIT");
 	}
+	send_command(fd, "QUIT");
 	close(fd);
 
 	dd->query_is_running = FALSE;



More information about the Xfce4-commits mailing list