diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-10-16 19:14:26 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-10-16 19:14:26 +0200 |
commit | 82a8acf9ce1f74b67286843e9c257fdcd65e4d76 (patch) | |
tree | e6648bd5923257b91787ad7b9eaa4ba92da04fc2 /src/plugins/relay/relay.c | |
parent | 452229cf32a0fa67effc108a7c650dd9ad150731 (diff) | |
download | weechat-82a8acf9ce1f74b67286843e9c257fdcd65e4d76.zip |
relay: add support of IPv6, new option relay.network.ipv6, add support of "ipv4." and/or "ipv6." before protocol name, to force IPv4/IPv6 (task #12270)
Diffstat (limited to 'src/plugins/relay/relay.c')
-rw-r--r-- | src/plugins/relay/relay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/relay/relay.c b/src/plugins/relay/relay.c index 23e7dfdb4..5fa70ae7a 100644 --- a/src/plugins/relay/relay.c +++ b/src/plugins/relay/relay.c @@ -22,6 +22,7 @@ */ #include <stdlib.h> +#include <string.h> #include "../weechat-plugin.h" #include "relay.h" @@ -65,7 +66,7 @@ relay_protocol_search (const char *name) for (i = 0; i < RELAY_NUM_PROTOCOLS; i++) { - if (weechat_strcasecmp (relay_protocol_string[i], name) == 0) + if (strcmp (relay_protocol_string[i], name) == 0) return i; } |