From 5c9008e0b077e79297a5245573675d95a1f266cc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 3 Sep 2013 13:39:31 -0400 Subject: Fix some "ISO C90 forbids mixed declarations and code" warnings --- src/or/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/directory.c') diff --git a/src/or/directory.c b/src/or/directory.c index 099df50d07..815e0abffd 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1418,10 +1418,10 @@ parse_http_url(const char *headers, char **url) /* Check if the header is well formed (next sequence * should be HTTP/1.X\r\n). Assumes we're supporting 1.0? */ - char *e = (char *)eat_whitespace_no_nl(s); { unsigned minor_ver; char ch; + char *e = (char *)eat_whitespace_no_nl(s); if (2 != tor_sscanf(e, "HTTP/1.%u%c", &minor_ver, &ch)) { return -1; } -- cgit v1.2.3-54-g00ecf