Skip to content
Why GitHub?
Features
→
Code review
Project management
Integrations
Actions
Packages
Security
Team management
Social coding
Documentation
Code hosting
Customer stories
→
Security
→
Enterprise
Explore
Explore GitHub
→
Learn & contribute
Topics
Collections
Trending
Learning Lab
Open source guides
Connect with others
Events
Community forum
GitHub Education
Marketplace
Pricing
Plans
→
Compare plans
Contact Sales
Nonprofit
→
Education
→
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
Watch
30
Star
221
Fork
68
NetworkBlockDevice
/
nbd
Code
Issues
13
Pull requests
0
Projects
0
Security
Insights
Permalink
Browse files
Add missing parentheses
Coverity CID#1485621
Loading branch information
yoe
committed
Aug 1, 2019
1 parent
6a75cb1
commit
d5b2a76775803ea7d6378a8e9caa58d756b30940
Unified
Split
Showing
1 changed file
with
1 addition
and
1 deletion
.
+1
−1
nbd-client.c
2
nbd-client.c
Show comments
View file
Edit file
Delete file
@@ -469,7 +469,7 @@ void send_opt_exportname(int sock, u64 *rsize64, uint16_t *flags, bool can_opt_g
err
(
"
E: server does not support NBD_OPT_GO and dropped connection after sending NBD_OPT_EXPORT_NAME. Try -g.
"
);
}
parse_sizes
(b, rsize64, flags);
if
(!global_flags & NBD_FLAG_NO_ZEROES) {
if
(!
(
global_flags & NBD_FLAG_NO_ZEROES
)
) {
char
buf[
125
];
readit
(sock, buf,
124
);
}
Toggle all file notes
0 comments on commit
d5b2a76
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
0 comments on commit
d5b2a76