diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-01-13 10:12:28 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-01-13 10:12:28 +0800 |
commit | e2c1d96a01bf29de6a9fdd42e6a3be7a49f63876 (patch) | |
tree | fff54ef26782926a68713be38f6bf9bb05b8b4f9 | |
parent | f1478a3d6d6e84357f4f3c9871bec807e7c342c5 (diff) |
Simplify IRC context structure initialisation
-rw-r--r-- | dircpsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ int main (int argc, char *argv[]) printf("Usage: %s <channel> <log>\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)); |