Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev2: function parameter type changes
`len` and `count` are both values that should never go `< 0`, so instead of having to test this (in theory) every time the function is called (regardless of by assert or if its unnecessary code), I propose to change it to `size_t`. As a bonus I made the type of recv's buf parameter generic - no reason for it to be a char and it might lead to unnecessary static casting requirements
- Loading branch information