X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=attribute.c;h=24a3826d3e051c4cdee6675d01466c12fd9d3d1b;hb=97e3deb06e0dd2e63520c2dc0736e753e1276fde;hp=e7fba9021d29fc19fcc7ad0d09534c65914d3a56;hpb=37ed4616f98abaec9da3fd8d47b6b00f45f29b37;p=paraslash.git diff --git a/attribute.c b/attribute.c index e7fba902..24a3826d 100644 --- a/attribute.c +++ b/attribute.c @@ -301,9 +301,9 @@ static void com_addatt_callback(int fd, const struct osl_object *query) struct osl_object objs[NUM_ATT_COLUMNS]; struct osl_row *row; unsigned char bitnum; - len = strlen(p); struct addatt_event_data aed; + len = strlen(p); if (!len || p[len - 1] == '-' || p[len - 1] == '+') { ret2 = para_printf(&pb, "invalid attribute name: %s\n", p); if (ret2 < 0)