diff options
Diffstat (limited to 'x11vnc/appshare.c')
-rw-r--r-- | x11vnc/appshare.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x11vnc/appshare.c b/x11vnc/appshare.c index fc3c29e..71cdf17 100644 --- a/x11vnc/appshare.c +++ b/x11vnc/appshare.c @@ -1358,7 +1358,7 @@ static void list_apps(void) { static int process_control(char *file, int check_clients) { int i, nnew = 0, seen[CMAX]; - char line[1024], *new[CMAX]; + char line[1024], *newctl[CMAX]; FILE *f; f = fopen(file, "r"); @@ -1481,7 +1481,7 @@ static int process_control(char *file, int check_clients) { if (idx >= 0) { seen[idx] = 1; } else { - new[nnew++] = strdup(q); + newctl[nnew++] = strdup(q); } } } @@ -1509,8 +1509,8 @@ static int process_control(char *file, int check_clients) { } continue; } - clients[free] = new[i]; - client(new[i], 1); + clients[free] = newctl[i]; + client(newctl[i], 1); } } return 1; |