Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
debian
tor
Commits
ff1cf354
Commit
ff1cf354
authored
14 years ago
by
Karsten Loesing
Browse files
Options
Downloads
Patches
Plain Diff
Don't use log_err for non-criticial warnings.
parent
cec21652
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/or/router.c
+7
-7
7 additions, 7 deletions
src/or/router.c
with
7 additions
and
7 deletions
src/or/router.c
+
7
−
7
View file @
ff1cf354
...
...
@@ -2053,9 +2053,9 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
"Descriptor was: <<%s>>"
,
s
);
goto
nostats
;
}
else
{
log_
err
(
LD_BUG
,
"We just generated an extra-info descriptors that "
"exceeds the 50 KB upload limit. Descriptor was: "
"<<%s>>"
,
s
);
log_
warn
(
LD_BUG
,
"We just generated an extra-info descriptors that "
"exceeds the 50 KB upload limit. Descriptor was: "
"<<%s>>"
,
s
);
goto
err
;
}
}
...
...
@@ -2065,8 +2065,8 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
if
(
router_get_extrainfo_hash
(
s
,
digest
)
<
0
||
router_append_dirobj_signature
(
sig
,
sizeof
(
sig
),
digest
,
DIGEST_LEN
,
ident_key
)
<
0
)
{
log_
err
(
LD_BUG
,
"Could not append signature to extra-info "
"descriptor.
Descriptor was: <<%s>>"
,
s
);
log_
warn
(
LD_BUG
,
"Could not append signature to extra-info
descriptor.
"
"
Descriptor was: <<%s>>"
,
s
);
goto
err
;
}
smartlist_add
(
chunks
,
tor_strdup
(
sig
));
...
...
@@ -2084,8 +2084,8 @@ extrainfo_dump_to_string(char **s_out, extrainfo_t *extrainfo,
"<<%s>>"
,
s
);
goto
nostats
;
}
else
{
log_
err
(
LD_BUG
,
"We just generated an extrainfo descriptor we "
"can't
parse. Descriptor was: <<%s>>"
,
s
);
log_
warn
(
LD_BUG
,
"We just generated an extrainfo descriptor we
can't
"
"
parse. Descriptor was: <<%s>>"
,
s
);
goto
err
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment