author | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Tue, 11 Aug 2009 14:08:03 +0000 (16:08 +0200) | ||
committer | Florian Forster <sifnfors@informatik.stud.uni-erlangen.de> | |
Tue, 11 Aug 2009 14:08:03 +0000 (16:08 +0200) | ||
commit | a80b4a724c3b64df78f9fc73be29dde181cc7bbe | |
tree | ce9cad84b845b099ab17d848e6ce5121238bb3ec | tree | snapshot |
parent | a49f20142a5fb2a2dab23bb81195175ac4a48de6 | commit | diff |
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.
Use `sstrncpy' and `ssnprintf' instead of the unsafe versions. Don't
specify array dimensions twice. Don't cast _Bool to int.
src/madwifi.c | diff | blob | history |