Bug 35481 - Code typo in telepathy-glib gnio-util.c
Summary: Code typo in telepathy-glib gnio-util.c
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: 0.13
Hardware: All Windows (All)
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-20 23:49 UTC by Vincent Zhang
Modified: 2012-04-03 03:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.