diff options
author | Roger Dingledine <arma@torproject.org> | 2004-11-10 03:22:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-11-10 03:22:49 +0000 |
commit | af9683501cb812a8228d2cce2cbbc5f670021c68 (patch) | |
tree | f3d5717e3bd5c1ce8f57884029c7709b0279e4ad /src | |
parent | d9a74cd0afb4dbb4a0b5278db23daa8ea447e916 (diff) | |
download | tor-af9683501cb812a8228d2cce2cbbc5f670021c68.tar.gz tor-af9683501cb812a8228d2cce2cbbc5f670021c68.zip |
make abbreviations case-insensitive (thanks weasel)
svn:r2773
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 8aca8f9be5..56faf677ca 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -321,7 +321,7 @@ expand_abbrev(const char *option, int command_line) int i; for (i=0; config_abbrevs[i].abbreviated; ++i) { /* Abbreviations aren't casei. */ - if (!strcmp(option,config_abbrevs[i].abbreviated) && + if (!strcasecmp(option,config_abbrevs[i].abbreviated) && (command_line || !config_abbrevs[i].commandline_only)) { return config_abbrevs[i].full; } |