# HG changeset patch # User Florian Pose # Date 1143190576 0 # Node ID 67b6e534db4b0539e1615922430d628ce0c95bde # Parent 48fe0a7a0288f3297dfe2c732e590c72aaa422e1 Bugfix: Absturz bei unbekannter Klemme. diff -r 48fe0a7a0288 -r 67b6e534db4b master/master.c --- a/master/master.c Fri Mar 24 08:39:46 2006 +0000 +++ b/master/master.c Fri Mar 24 08:56:16 2006 +0000 @@ -464,7 +464,7 @@ // Search for identification in "database" ident = slave_idents; - while (ident) { + while (ident->type) { if (unlikely(ident->vendor_id == slave->sii_vendor_id && ident->product_code == slave->sii_product_code)) { slave->type = ident->type;