Don't discard a const qualifier from constant strings.
This commit is contained in:
parent
a3471d7b5c
commit
23e0bb44c9
@ -471,7 +471,8 @@ void
|
||||
shownetstat()
|
||||
{
|
||||
struct netinfo *p, *q;
|
||||
char proto[6], *family = "";
|
||||
char proto[6];
|
||||
const char *family = "";
|
||||
|
||||
/*
|
||||
* First, delete any connections that have gone
|
||||
|
Loading…
Reference in New Issue
Block a user