shithub: dumb

Download patch

ref: e33c9b3f24656a14384ea9407df4484509cabd21
parent: 8fdb02e9d7d831b6589665d7a849df0510afde35
author: Azamat H. Hackimov <azamat.hackimov@gmail.com>
date: Wed Mar 9 10:57:42 EST 2016

Fixed typo

Resolves compilation error on Windows VS2008

--- a/dumb/src/core/duhtag.c
+++ b/dumb/src/core/duhtag.c
@@ -48,7 +48,7 @@
 int duh_get_tag_iterator_get(DUH *duh, const char **key, const char **tag, int i)
 {
 	ASSERT(key);
-	ASSERT(value);
+	ASSERT(tag);
 	if (!duh || !duh->tag || i >= duh->n_tags) return -1;
 
 	*key = duh->tag[i][0];