Whitespace tweaks

This commit is contained in:
Nick Mathewson 2011-08-10 15:06:45 -04:00
parent 5252c9434f
commit 5da9f722f2
2 changed files with 3 additions and 2 deletions

View File

@ -4980,7 +4980,7 @@ parse_client_port_config(smartlist_t *out,
mainport = (int)tor_parse_long(ports->value, 10, 0, 65535, &ok, NULL);
if (!ok) {
log_warn(LD_CONFIG, "%sListenAddress can only be used with a single "
"%sPort with value \"auto\" or 1-65535.", portname, portname);
"%sPort with value \"auto\" or 1-65535.", portname, portname);
return -1;
}
}

View File

@ -4008,7 +4008,8 @@ control_event_conf_changed(smartlist_t *elements)
int i;
char *result;
smartlist_t *lines;
if (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) || smartlist_len(elements) == 0) {
if (!EVENT_IS_INTERESTING(EVENT_CONF_CHANGED) ||
smartlist_len(elements) == 0) {
return 0;
}
lines = smartlist_create();