diff options
author | David Robillard <d@drobilla.net> | 2007-02-19 06:10:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-19 06:10:38 +0000 |
commit | 25d13653ede7fdda4f08cd1e57c73a3c186a7b50 (patch) | |
tree | 455bda6403b55b656a8b9b98bdd238ad04deaef7 /src/stringlist.c | |
parent | d3d736deba06ca2ef655858ac22d8267c5cc6363 (diff) | |
download | lilv-25d13653ede7fdda4f08cd1e57c73a3c186a7b50.tar.gz lilv-25d13653ede7fdda4f08cd1e57c73a3c186a7b50.tar.bz2 lilv-25d13653ede7fdda4f08cd1e57c73a3c186a7b50.zip |
Fixed doap:license typo in lv2.ttl.
Added stronger plugin validation.
Plugged memory leaks.
Aded list filtering by arbitrary function pointer.
git-svn-id: http://svn.drobilla.net/lad/slv2@318 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/stringlist.c')
-rw-r--r-- | src/stringlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stringlist.c b/src/stringlist.c index 930454f..2233e7e 100644 --- a/src/stringlist.c +++ b/src/stringlist.c @@ -55,10 +55,10 @@ slv2_strings_get_at(SLV2Strings list, unsigned index) bool -slv2_strings_contains(SLV2Strings list, const char* uri) +slv2_strings_contains(SLV2Strings list, const char* str) { for (unsigned i=0; i < slv2_strings_size(list); ++i) - if (!strcmp(slv2_strings_get_at(list, i), uri)) + if (!strcmp(slv2_strings_get_at(list, i), str)) return true; return false; |