* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Authors: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
*/
{
GSocketAddressEnumerator *enumerator;
GSocketAddress *sockaddr;
- GInetAddress *addr;
+ GInetAddress *addr = NULL;
guint port = 0;
gchar **ip_and_port;
GSocketAddressEnumerator *enumerator;
GSocketAddress *sockaddr;
- sockaddr = g_unix_socket_address_new_abstract (info, -1);
+ sockaddr = g_unix_socket_address_new_with_type (info, -1, G_UNIX_SOCKET_ADDRESS_ABSTRACT);
if (sockaddr == NULL)
{
gboolean cancel = FALSE;
ProxyTestType type = USE_RESOLVER;
- g_type_init ();
-
while (argc >= 2 && argv[1][0] == '-')
{
if (!strcmp (argv[1], "-s"))