SoupSocket: local, remote address are undefined if unconnected
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 29 Mar 2012 18:17:02 +0000 (19:17 +0100)
committerDan Winship <danw@gnome.org>
Mon, 6 Aug 2012 14:30:00 +0000 (10:30 -0400)
commitf75304e6d16f53b544a08776031921bef9535100
tree7c54045cd1b8cec4fe25cd1ac725b699b577152f
parent005e8cd9be521950330bb98c9c207bc6c172c6f6
SoupSocket: local, remote address are undefined if unconnected

Warn and return NULL deterministically, rather than warning and returning
uninitialized stack garbage, but document it as "undefined"; these
methods were never meant to be valid in this situation, apparently.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=673083
libsoup/soup-socket.c