/[svn]/hopm/branches/1.1.x/src/libopm/src/config.c
ViewVC logotype

Diff of /hopm/branches/1.1.x/src/libopm/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9995 by michael, Tue Jul 14 12:42:54 2020 UTC revision 9996 by michael, Thu Jun 17 18:43:18 2021 UTC
# Line 208  libopm_config_set(OPM_CONFIG_T *config, Line 208  libopm_config_set(OPM_CONFIG_T *config,
208    
209        struct sockaddr_storage *const addr = config->vars[key];        struct sockaddr_storage *const addr = config->vars[key];
210        memcpy(addr, res->ai_addr, res->ai_addrlen);        memcpy(addr, res->ai_addr, res->ai_addrlen);
       addr->ss_family = res->ai_family;  
211    
212        freeaddrinfo(res);        freeaddrinfo(res);
213        break;        break;

Legend:
Removed from v.9995  
changed lines
  Added in v.9996

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28