Bug 35481

Summary: Code typo in telepathy-glib gnio-util.c
Product: Telepathy Reporter: Vincent Zhang <yd.zhang>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: 0.13   
Hardware: All   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

Description Vincent Zhang 2011-03-20 23:49:33 UTC
In function tp_unix_connection_send_credentials_with_byte and tp_unix_connection_receive_credentials_with_byte:
  g_set_error (G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
      "Unix sockets not supported");
will fail when compiling on windows platform, that should be:
  g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
      "Unix sockets not supported");
Comment 1 Will Thompson 2012-04-03 03:40:52 UTC
Good catch! Already fixed in this commit, which is in tp-glib 0.14.10/0.15.4 and later.

commit 8805d05c1b2d6fd3e287dbd286fde215e47d5bd0
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Tue Jul 12 15:09:36 2011 +0200

    gnio-util: properly set the GError if UNIX sockets are not implemented
    
    https://bugs.freedesktop.org/show_bug.cgi?id=38997

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.