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);