gmyth/src/gmyth_backendinfo.c
branchtrunk
changeset 797 7563dc4ed8d5
parent 770 800e6485ad15
child 817 888b9724f601
     1.1 --- a/gmyth/src/gmyth_backendinfo.c	Tue Jul 03 21:26:55 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_backendinfo.c	Tue Aug 07 16:00:49 2007 +0100
     1.3 @@ -350,13 +350,14 @@
     1.4      if (backend_info->sock == NULL) {
     1.5          gboolean res;
     1.6          backend_info->sock = gmyth_socket_new ();
     1.7 -        res =  gmyth_socket_connect_to_backend (socket,
     1.8 +        res =  gmyth_socket_connect_to_backend (backend_info->sock,
     1.9                                                  backend_info->hostname,
    1.10                                                  backend_info->port,
    1.11                                                  TRUE);
    1.12          if (res == FALSE) {
    1.13              g_object_unref (backend_info->sock);
    1.14              backend_info->sock = NULL;
    1.15 +            return NULL;
    1.16          }
    1.17      }
    1.18