summarylogtreecommitdiffstats
path: root/remote.patch
blob: 48aaf30614d7d696eb3678d8dd3c1514fd254223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- remote.c	2002-06-07 15:14:30.000000000 +0200
+++ remote.c	2014-07-30 10:54:39.691534519 +0200
@@ -19,7 +19,7 @@
 #endif
 
 static gint rcport = DEF_PORT;
-static SocketData *socket = NULL;
+static SocketData *mc_socket = NULL;
 
 void print_help(void)
 {
@@ -90,9 +90,9 @@
       strcat(cmd, argv[i]);
    }
    
-   socket = socket_new_client(hostname, rcport);
-   socket_write(socket, cmd, strlen(cmd)+1);
-   socket_free(socket);
+   mc_socket = socket_new_client(hostname, rcport);
+   socket_write(mc_socket, cmd, strlen(cmd)+1);
+   socket_free(mc_socket);
    
    return 0;
 }