Code

madwifi plugin: Fix a few best practices.
authorFlorian Forster <sifnfors@informatik.stud.uni-erlangen.de>
Tue, 11 Aug 2009 14:08:03 +0000 (16:08 +0200)
committerFlorian Forster <sifnfors@informatik.stud.uni-erlangen.de>
Tue, 11 Aug 2009 14:08:03 +0000 (16:08 +0200)
commita80b4a724c3b64df78f9fc73be29dde181cc7bbe
treece9cad84b845b099ab17d848e6ce5121238bb3ec
parenta49f20142a5fb2a2dab23bb81195175ac4a48de6
madwifi plugin: Fix a few best practices.

Use `sstrncpy' and `ssnprintf' instead of the unsafe versions. Don't
specify array dimensions twice. Don't cast _Bool to int.
src/madwifi.c