diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-03 15:02:45 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-03 15:02:45 +0100 |
commit | 33e469790ae08fdf674c878c39bdf83af335607b (patch) | |
tree | 907a4696525eaed84b9ae908ec5b42ffc3346caa /src/repodata.c | |
parent | 88e1e4c8778561a0d2d9d75cb2b65191023298b3 (diff) | |
download | libsolv-33e469790ae08fdf674c878c39bdf83af335607b.tar.gz libsolv-33e469790ae08fdf674c878c39bdf83af335607b.tar.bz2 libsolv-33e469790ae08fdf674c878c39bdf83af335607b.zip |
fix basename optimization for STRINGEND
broken with commit 0804020d92975c20a683f490f81339c14555b2d4
Diffstat (limited to 'src/repodata.c')
-rw-r--r-- | src/repodata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repodata.c b/src/repodata.c index 73229f8..86c4774 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -1091,7 +1091,8 @@ solvabledata_fetch(Solvable *s, KeyValue *kv, Id keyname) int datamatcher_init(Datamatcher *ma, const char *match, int flags) { - ma->match = match ? solv_strdup(match) : 0; + match = match ? solv_strdup(match) : 0; + ma->match = match; ma->flags = flags; ma->error = 0; ma->matchdata = 0; |