1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

tests: add tests on function irc_server_alloc_with_url

This commit is contained in:
Sébastien Helleu
2023-04-05 21:17:03 +02:00
parent 5c801f2741
commit 0b20cb449a
2 changed files with 155 additions and 1 deletions
+3
View File
@@ -1699,6 +1699,9 @@ irc_server_alloc_with_url (const char *irc_url)
int ipv6, ssl, length;
struct t_irc_server *ptr_server;
if (!irc_url || !irc_url[0])
return NULL;
irc_url2 = strdup (irc_url);
if (!irc_url2)
return NULL;