]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
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 e9d12a7499a436235ed25bdbc6368c2f4675342b..d8dd8affe81db41d1dba8b43311d626e8c73e734 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%"))
        {