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
daf5fa4f
Commit
daf5fa4f
authored
Oct 18, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor stylistic tweak to message parser.
parent
fb2da8b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
message.c
message.c
+2
-3
No files found.
message.c
View file @
daf5fa4f
...
@@ -404,15 +404,14 @@ parse_packet(const unsigned char *from, struct network *net,
...
@@ -404,15 +404,14 @@ parse_packet(const unsigned char *from, struct network *net,
debugf
(
"Received unknown packet type %d from %s on %s.
\n
"
,
debugf
(
"Received unknown packet type %d from %s on %s.
\n
"
,
type
,
format_address
(
from
),
net
->
ifname
);
type
,
format_address
(
from
),
net
->
ifname
);
}
}
done:
done:
i
+=
len
+
2
;
i
+=
len
+
2
;
continue
;
continue
;
fail:
fail:
fprintf
(
stderr
,
"Couldn't parse packet (%d %d).
\n
"
,
fprintf
(
stderr
,
"Couldn't parse packet (%d %d).
\n
"
,
message
[
0
],
message
[
1
]);
message
[
0
],
message
[
1
]);
i
+=
len
+
2
;
goto
done
;
}
}
return
;
return
;
}
}
...
...
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