add_tag_for_client(): Set time_to_live properly
authorFabian Keil <fk@fabiankeil.de>
Mon, 20 Feb 2017 13:47:51 +0000 (13:47 +0000)
committerFabian Keil <fk@fabiankeil.de>
Mon, 20 Feb 2017 13:47:51 +0000 (13:47 +0000)
commit59d5e640ca88c6e16c4458e4a90d3bca69db1ec5
treeebff28214f40b7d372c45b98116332233e081ff3
parent3ac2e455b47cce2028e1f8c7de72a77a15491691
add_tag_for_client(): Set time_to_live properly

Previously the time_to_live was always set for the first tag.
Attempts to temporarily enable a tag would result in enabling
it permanently unless no tag was enabled already.

D'oh.
client-tags.c