Convert option names without parameter into lowercase before
[infodrom/dtaus] / dtaus.c
diff --git a/dtaus.c b/dtaus.c
index 4c9248b..874bfca 100644 (file)
--- a/dtaus.c
+++ b/dtaus.c
@@ -455,7 +455,7 @@ char *extract_ident (char *line)
     y = strchr (line, '\t');
 
     if (!x && !y) {
-        strncpy(word, line, 29);
+        strncpy(word, downcase(line), 29);
         line[0] = '\0';
         return word;
     }