Remove ranges from switch statements.
authorFlorian Forster <octo@verplant.org>
Sun, 18 Jun 2006 14:52:35 +0000 (16:52 +0200)
committerFlorian Forster <octo@verplant.org>
Sun, 18 Jun 2006 14:52:35 +0000 (16:52 +0200)
commitd90149c5b4e91938329120bdde609e5f6d9b03e8
tree8fca8dc2784c1781aadbc136ca54420e0b3b3d9b
parentae448e3854d8b6e7e37aa88fa3917f5dd97f3210
Remove ranges from switch statements.

Though very nice and readable, the "case 'a'...'z':" construct is not ANSI C99
compliant. This patch unfolds the range in `quote.c' and substitutes the
switch-statement with an if-statement in `http-fetch.c' and `http-push.c'.
http-fetch.c
http-push.c
quote.c