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-07-23 16:50:43 +02:00
2018-07-28 09:09:58 +02:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-07-28 09:09:58 +02:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-07-05 10:29:19 +02:00
2018-06-29 14:20:56 +02:00
2018-07-23 16:50:43 +02:00
2018-07-04 02:12:49 -04:00
2018-07-24 14:27:41 +01:00
2018-07-10 16:01:51 +02:00
2018-07-23 16:50:43 +02:00
2018-07-10 16:46:22 +02:00
2018-07-10 16:01:52 +02:00
2018-07-05 10:29:19 +02:00
2018-07-10 16:01:52 +02:00
2018-07-02 15:27:38 -05:00
2018-07-02 15:27:38 -05:00
2018-07-28 09:09:58 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-07-09 19:43:24 +02:00
2018-06-29 14:20:56 +02:00
2018-07-10 17:28:29 +01:00
2018-07-10 17:28:29 +01:00
2018-07-09 19:43:24 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-07-10 17:28:29 +01:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-06-29 14:20:56 +02:00
2018-07-19 13:08:26 +01:00
2018-07-10 16:01:52 +02:00
2018-07-10 16:01:52 +02:00
2018-07-02 14:45:23 +02:00
2018-07-23 16:50:43 +02:00
2018-07-09 19:43:24 +02:00
2018-07-23 16:50:43 +02:00