edit-qso: use HLQ_VERSION_USE_DEFAULT instead of -1

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
1 files changed, 2 insertions(+), 1 deletions(-)

M edit-qso/edit-qso.c
M edit-qso/edit-qso.c +2 -1
@@ 123,7 123,8 @@ int main(int argc, char **argv)
 
 		buffer_init_static(&buf, kv, strlen(kv), strlen(kv), false);
 
-		val = hlq_parse_kv(&buf, -1, &ns, &key_start, &key_end);
+		val = hlq_parse_kv(&buf, HLQ_VERSION_USE_DEFAULT, &ns,
+				   &key_start, &key_end);
 		if (IS_ERR(val)) {
 			fprintf(stderr, "Error: failed to parse item (%s): %s\n",
 				argv[i], xstrerror(PTR_ERR(val)));