From e2c1d96a01bf29de6a9fdd42e6a3be7a49f63876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Mon, 13 Jan 2020 10:12:28 +0800 Subject: Simplify IRC context structure initialisation --- dircpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dircpsa.c b/dircpsa.c index 461c91d..f7b346a 100644 --- a/dircpsa.c +++ b/dircpsa.c @@ -46,7 +46,7 @@ int main (int argc, char *argv[]) printf("Usage: %s \n", argv[0]); return 1; } - irc_ctx_t ctx = {.channel = argv[1], .log = argv[2]}; + irc_ctx_t ctx = {argv[1], argv[2]}; irc_callbacks_t callbacks; memset(&callbacks, 0, sizeof(callbacks)); -- cgit v1.2.3