chiark / gitweb /
import: three minor fixes
[elogind.git] / src / import / import-dkr.c
index 05b10621bc243039d208a5cf1b5669645b604715..8f26191c40fd90a9d7e95dd3b9f50a3e9180f275 100644 (file)
@@ -1131,7 +1131,7 @@ int dkr_import_pull(DkrImport *import, const char *name, const char *tag, const
                 n->force_local = force_local;
         }
 
-        r = hashmap_put(import->names, name, n);
+        r = hashmap_put(import->names, n->name, n);
         if (r < 0)
                 return r;