X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.c;h=02b6b56db561d5a7ef2f9464dc2c1f1c54f35fec;hp=aa008f995c6d7aa8cc0b935c419810c81749613e;hb=3bd3f7a83d4685ca18f5eeb3aafc73b615698016;hpb=b373e8efe59d7b8be0e07f42202d9611fb7472fa 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)