Browse Source

Bugfix: RPC: Restore PGA index counting

Luke Dashjr 12 years ago
parent
commit
1cda61fc8e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      api.c

+ 1 - 0
api.c

@@ -1421,6 +1421,7 @@ int find_index_by_cgpu(struct cgpu_info *cgpu)
 			break;
 		if (devices[i]->device != devices[i] && !per_proc)
 			continue;
+		++n;
 	}
 	rd_unlock(&devices_lock);
 	return n;