soup-uri: fix uri_normalized_copy to not always do fixup
authorDan Winship <danw@gnome.org>
Mon, 16 Jul 2012 16:04:52 +0000 (12:04 -0400)
committerDan Winship <danw@gnome.org>
Mon, 16 Jul 2012 16:04:52 +0000 (12:04 -0400)
commitacc39b2e08cc8f8f729fd111c686168b4788a4c3
tree8f72308128114bf7d4b09225013e58f341b250fd
parent079ae1dae5616f84b6ca287544d1dfcc0b5eb9ca
soup-uri: fix uri_normalized_copy to not always do fixup

need_fixup was always getting set, because the trailing NUL character
was being processed by the loop. Fix.

Pointed out by Yann SOUBEYRAND,
https://bugzilla.gnome.org/show_bug.cgi?id=680018
libsoup/soup-uri.c