Markus Armbruster ba891d68b4 qstring: Move qstring_from_substr()'s @end one to the right
qstring_from_substr() takes the index of the substring's first and
last character.  qstring_from_substr(s, 0, SIZE_MAX) denotes an empty
substring.  Awkward.

Shift the end index one to the right.  This simplifies both
qstring_from_substr() and its callers.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180727062204.10401-3-armbru@redhat.com>
2018-07-28 09:09:58 +02:00
..
2018-02-22 15:44:07 -08:00
2018-03-21 15:13:40 +01:00
2018-07-24 11:45:25 +01:00
2018-06-04 10:15:16 +01:00
2018-03-06 14:01:27 +01:00
2018-06-01 15:13:46 +02:00
2018-02-08 09:22:03 +08:00
2018-07-05 11:25:14 +01:00
2018-07-05 11:25:14 +01:00