From: Andre Noll Date: Sat, 29 Mar 2008 11:42:54 +0000 (+0100) Subject: Fix lsatt command. X-Git-Tag: v0.3.2~53 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=a5df177eedf4f95204a45a7e7dc683b1e3f828bc;p=paraslash.git Fix lsatt command. --- diff --git a/attribute.c b/attribute.c index bfb6d3f2..e7fba902 100644 --- a/attribute.c +++ b/attribute.c @@ -166,7 +166,7 @@ static void com_lsatt_callback(int fd, const struct osl_object *query) if (laad.flags & LSATT_FLAG_REVERSE) pmd.pm_flags |= PM_REVERSE_LOOP; for_each_matching_row(&pmd); - if (!laad.pb.offset) + if (laad.pb.offset) pass_buffer_as_shm(laad.pb.buf, laad.pb.offset, &fd); free(laad.pb.buf); }