Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ZerXes
Tor
Commits
727a260a
Commit
727a260a
authored
Dec 03, 2003
by
Roger Dingledine
Browse files
prevent assert failure on -HUP when options->PidFile==NULL
svn:r885
parent
4d9eabfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/config.c
View file @
727a260a
...
...
@@ -292,7 +292,8 @@ int getconfig(int argc, char **argv, or_options_t *options) {
argc
=
backup_argc
;
/* record some previous values, so we can fail if they change */
previous_pidfile
=
tor_strdup
(
options
->
PidFile
);
if
(
options
->
PidFile
)
previous_pidfile
=
tor_strdup
(
options
->
PidFile
);
previous_runasdaemon
=
options
->
RunAsDaemon
;
free_options
(
options
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment