Browse Source

Update utils.c

pull/2140/head
sxyoxygen 6 years ago
committed by GitHub
parent
commit
95c1dba176
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions
  1. 7
      src/utils.c

7
src/utils.c

@ -268,6 +268,13 @@ ss_realloc(void *ptr, size_t new_size)
return new; return new;
} }
int
ss_is_ipv6addr(const char *addr)
{
return strcmp(addr, ":") > 0;
}
void void
usage() usage()
{ {

Loading…
Cancel
Save