~ubuntu-branches/ubuntu/saucy/gvfs/saucy-proposed

« back to all changes in this revision

Viewing changes to daemon/gvfsdaemonutils.c

Tags: upstream-0.1.7
ImportĀ upstreamĀ versionĀ 0.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    {
90
90
      g_set_error (error, G_IO_ERROR,
91
91
                   G_IO_ERROR_FAILED,
92
 
                   _("No fd passing socket available"));
 
92
                   _("Internal Error (%s)"), "No fd passing socket available");
93
93
      return FALSE;
94
94
    }
95
95
 
97
97
 
98
98
  if (_g_socket_send_fd (extra->extra_fd, fd) == -1)
99
99
    {
 
100
      int errsv = errno;
 
101
 
100
102
      g_set_error (error, G_IO_ERROR,
101
 
                   g_io_error_from_errno (errno),
 
103
                   g_io_error_from_errno (errsv),
102
104
                   _("Error sending fd: %s"),
103
 
                   g_strerror (errno));
 
105
                   g_strerror (errsv));
104
106
      g_static_mutex_unlock (&extra_lock);
105
107
      return FALSE;
106
108
    }