Fix variable name in code example

This commit is contained in:
Erik Johansson 2012-03-06 13:53:39 +01:00
parent bda20c75f0
commit e921be65b4

View file

@ -44,7 +44,7 @@
* \code
* int intNumberOfDevices = tdGetNumberOfDevices();
* for (int i = 0; i < intNumberOfDevices; i++) {
* int id = tdGetDeviceId( index );
* int id = tdGetDeviceId( i );
* char *name = tdGetName( id );
* printf("%d\t%s\n", id, name);
* tdReleaseString(name);