make SOLVABLE_LICENSE also use a poolstr
authorMichael Schroeder <mls@suse.de>
Fri, 7 Jun 2013 11:08:04 +0000 (13:08 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 7 Jun 2013 11:08:04 +0000 (13:08 +0200)
ext/repo_arch.c

index e9d12a7..d8dd8af 100644 (file)
@@ -634,7 +634,7 @@ adddata(Repodata *data, Solvable *s, struct tarhead *th)
       else if (!strcmp(line, "%LICENSE%"))
        {
          if (getsentrynl(th, line, sizeof(line)))
-           repodata_set_str(data, s - pool->solvables, SOLVABLE_LICENSE, line);
+           repodata_set_poolstr(data, s - pool->solvables, SOLVABLE_LICENSE, line);
        }
       else if (!strcmp(line, "%ARCH%"))
        {