tool_urlglob.c: Added braces to clarify the conditions