Introduction
Introduction Statistics Contact Development Disclaimer Help
remove useless c->next = NULL - ii - irc it, simple FIFO based irc client
git clone git://git.suckless.org/ii
Log
Files
Refs
README
LICENSE
---
commit 49e239fbb19f1dc880f269a1adb0543dadc1f4e9
parent a192aa3113a2e171b6061a827bba6e955de7bb11
Author: David Demelier <[email protected]>
Date: Fri, 17 Jan 2020 14:06:13 +0100
remove useless c->next = NULL
Diffstat:
M ii.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ii.c b/ii.c
@@ -234,7 +234,7 @@ channel_new(const char *name)
fprintf(stderr, "%s: calloc: %s\n", argv0, strerror(errno));
exit(1);
}
- c->next = NULL;
+
strlcpy(c->name, name, sizeof(c->name));
channel_normalize_name(c->name);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.