Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
d763f3e0
Commit
d763f3e0
authored
Feb 07, 2020
by
Antonin Décimo
Committed by
Juliusz Chroboczek
May 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Error if configured key can't be found.
parent
3cb0ab7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
configuration.c
configuration.c
+5
-2
No files found.
configuration.c
View file @
d763f3e0
...
@@ -690,11 +690,14 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure,
...
@@ -690,11 +690,14 @@ parse_anonymous_ifconf(int c, gnc_t gnc, void *closure,
char
*
key_id
;
char
*
key_id
;
struct
key
*
key
;
struct
key
*
key
;
c
=
getword
(
c
,
&
key_id
,
gnc
,
closure
);
c
=
getword
(
c
,
&
key_id
,
gnc
,
closure
);
if
(
c
<
-
1
)
{
if
(
c
<
-
1
)
goto
error
;
key
=
find_key
(
key_id
);
if
(
key
==
NULL
)
{
fprintf
(
stderr
,
"Couldn't find key %s.
\n
"
,
key_id
);
free
(
key_id
);
free
(
key_id
);
goto
error
;
goto
error
;
}
}
key
=
find_key
(
key_id
);
if_conf
->
key
=
key
;
if_conf
->
key
=
key
;
free
(
key_id
);
free
(
key_id
);
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
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