commit | 5c725e9f4878cd095b19f5a3e910f3e994785a40 | [log] [tgz] |
---|---|---|
author | Lipi Lee <lipisoft@gmail.com> | Thu Jan 21 14:03:10 2016 -0600 |
committer | Rob Landley <rob@landley.net> | Thu Jan 21 14:03:10 2016 -0600 |
tree | 1f651664db92739f0c4ca9abf041b123e7529d1f | |
parent | 2081ec658cdedc7bc6693c8353874dcaf48e9b1b [diff] |
I cleaned up the code in 'netstat.c' as belows. - Adjust to 80 columns - remove a useless function(strchr_nul), variable, type casting and compile warnings(fgets) - clean up netstat command option condition - change useless double pointer to single point and dynamic memory allocation to static one - fix a ambiguous return type and typo