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
1 file changed