readline: use g_strndup instead of open-coding it
commit6ad7c326a1b62a71a83b46de79b8d8391bb768ff
authorMichael Tokarev <mjt@tls.msk.ru>
Mon, 5 May 2014 09:23:50 +0000 (5 13:23 +0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 May 2014 17:00:43 +0000 (7 21:00 +0400)
treeccb4233a780fd5b5f0ef316dc06d6d010d006729
parent797720876a5c24dd6adb3c2d6e0c872ac3b35c11
readline: use g_strndup instead of open-coding it

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Andreas Färber <afaerber@suse.de>
util/readline.c