Browse Source

MT#55283 fix typo from f9b8f2041

Change-Id: I86669afdc75fc721ca31f37cd0425cbede108d90
pull/1786/head
Richard Fuchs 2 years ago
parent
commit
c2a4772377
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/socket.c

+ 1
- 1
lib/socket.c View File

@ -803,7 +803,7 @@ int open_v46_socket(socket_t *r, int type) {
int ret = __socket(r, type, &__socket_families[SF_IP6]);
if (ret) {
if (errno == EAFNOSUPPORT)
ret = __socket(r, type, &__socket_families[SF_IP6]);
ret = __socket(r, type, &__socket_families[SF_IP4]);
if (ret) {
__C_DBG("open socket fail");
return -1;


Loading…
Cancel
Save