about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--chat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/chat.c b/chat.c
index 22c5665..ea6e0c4 100644
--- a/chat.c
+++ b/chat.c
@@ -159,8 +159,7 @@ int main(int argc, char *argv[]) {
 		if (options[i].has_arg) opts[j++] = ':';
 	}
 
-	int opt;
-	while (0 < (opt = getopt_config(argc, argv, opts, options, NULL))) {
+	for (int opt; 0 < (opt = getopt_config(argc, argv, opts, options, NULL));) {
 		switch (opt) {
 			break; case '!': insecure = true;
 			break; case 'C': utilPush(&urlCopyUtil, optarg);
019-05-19 19:08:21 -0400'>2019-05-19Specify precedence of unary versions of operatorsJune McEnroe 2019-05-18Add compound assignment operators to orderJune McEnroe 2019-05-15Support simple assignment in orderJune McEnroe 2019-05-15Implement sizeof in orderJune McEnroe 2019-05-15Add orderJune McEnroe 2019-05-12Add T suffix in bitJune McEnroe 2019-05-10Highlight yacc and lex files as CJune McEnroe Their %-prefixed directives should probably be highlighted Macro. 2019-05-10Use val instead of suboptargJune McEnroe suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure? 2019-05-09Add Parable of the SowerJune McEnroe 2019-05-07Add bit without buildJune McEnroe Need to do some stuff in the Makefile for lex and yacc and generating HTML pages for it. 2019-05-04Fix MANDIR typoJune McEnroe 2019-05-04Move relay to binJune McEnroe