X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fobject.c;h=839bc65e558ad6dd4f8735fad4110854de475e3b;hb=b9d261cd48ef0715f3a104a875c11c992c654206;hp=d12461527a4a24889e38cf900b1ecbaf65745e14;hpb=ee29b327c99803abb3426de894601d0655312b13;p=libucw.git diff --git a/lib/object.c b/lib/object.c index d1246152..839bc65e 100644 --- a/lib/object.c +++ b/lib/object.c @@ -220,5 +220,5 @@ obj_add_attr(struct odes *o, struct oattr *a, uns x, byte *v) b = oa_new(o, x, v); a->last_same->same = b; a->last_same = b; - return b; + return a; }