X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=inline;f=afs.c;h=02b6b56db561d5a7ef2f9464dc2c1f1c54f35fec;hb=a6cbab95272b31c55b2b41e1d3dd55743c7c774f;hp=aa008f995c6d7aa8cc0b935c419810c81749613e;hpb=f37c5c599f5a858a44df7739613d55aeea078921;p=paraslash.git diff --git a/afs.c b/afs.c index aa008f99..02b6b56d 100644 --- a/afs.c +++ b/afs.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2008 Andre Noll + * Copyright (C) 2007-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -892,7 +892,7 @@ static int call_callback(int fd, int query_shmid) query.data = (char *)query_shm + sizeof(*cq); query.size = cq->query_size; cq->handler(fd, &query); - return 1; + return shm_detach(query_shm); } static int execute_server_command(void)