diff options
author | Nikias Bassen | 2009-04-13 13:54:57 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-04-13 13:54:57 +0200 |
commit | d6e0cb81973e99aa61c4b36e3e4a4dcd475c1e59 (patch) | |
tree | 6308d0a4d41296107204082c5e73d309135cc014 | |
parent | 322a3e80835aacc2abaa802545143ebde69d21da (diff) | |
download | usbmuxd-d6e0cb81973e99aa61c4b36e3e4a4dcd475c1e59.tar.gz usbmuxd-d6e0cb81973e99aa61c4b36e3e4a4dcd475c1e59.tar.bz2 |
[URGENT][BUGFIX] use device_count++ instead of device++. No further comment.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |