From d6e0cb81973e99aa61c4b36e3e4a4dcd475c1e59 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 13 Apr 2009 13:54:57 +0200 Subject: [URGENT][BUGFIX] use device_count++ instead of device++. No further comment. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 6b1b6ce..87104d3 100644 --- a/main.c +++ b/main.c @@ -653,7 +653,7 @@ connect: devices = (struct device_info**)realloc(devices, sizeof(struct device_info*) * (device_count+1)); if (devices) { devices[device_count] = cur_dev; - devices++; + device_count++; } pthread_mutex_unlock(&usbmux_mutex); } else { -- cgit v1.1-32-gdbae