find_by_id: Fix lookup
authorBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 28 Sep 2011 11:57:14 +0000 (13:57 +0200)
committerBenjamin Franzke <benjaminfranzke@googlemail.com>
Wed, 28 Sep 2011 11:57:14 +0000 (13:57 +0200)
commitc1cf0a71cfd8aa3441e57592e17de0d34823d305
treedaa9d873d62cad56c5f246d6d4dea618d53bf3a5
parentb83e8c2d09a357b2f06f10a9a41169c6c4061d46
find_by_id: Fix lookup

The offset should be taken from the (GList *)::data pointer,
not the list directly..
src/commands.c
src/commands.h
src/io.c
src/util.c