summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6b1b6ce..87104d3 100644
--- a/main.c
+++ b/main.c
@@ -653,7 +653,7 @@ connect:
653 devices = (struct device_info**)realloc(devices, sizeof(struct device_info*) * (device_count+1)); 653 devices = (struct device_info**)realloc(devices, sizeof(struct device_info*) * (device_count+1));
654 if (devices) { 654 if (devices) {
655 devices[device_count] = cur_dev; 655 devices[device_count] = cur_dev;
656 devices++; 656 device_count++;
657 } 657 }
658 pthread_mutex_unlock(&usbmux_mutex); 658 pthread_mutex_unlock(&usbmux_mutex);
659 } else { 659 } else {