]> mj.ucw.cz Git - libucw.git/blobdiff - lib/object.c
The StringMap file contains an end marker pointing past the last
[libucw.git] / lib / object.c
index d12461527a4a24889e38cf900b1ecbaf65745e14..839bc65e558ad6dd4f8735fad4110854de475e3b 100644 (file)
@@ -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;
 }