Overview
SHA1 Hash: | 6d67f3c7c71b65b0f0d339487667c13cb5449253 |
---|---|
Date: | 2008-02-08 16:24:25 |
User: | stephan |
Comment: | minor efficiency hack in tagview_page_list_tags() |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/tagview.c from [13bdab07f0] to [f0893454d5].
@@ -68,12 +68,12 @@ " ORDER BY tx.mtime DESC %s", zLikeClause, zLimit ); db_generic_query_view(zSql, 1); free(zSql); - if( strlen(zLikeClause) ) free(zLikeClause); - if( strlen(zLimit) ) free(zLimit); + if( zLikeClause[0] ) free(zLikeClause); + if( zLimit[0] ) free(zLimit); } /* ** A small search form which forwards to ?like=SEARCH_STRING */