projects
/
nbd.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test request blocks that are larger than 1MB, too.
[nbd.git]
/
nbd-server.c
diff --git
a/nbd-server.c
b/nbd-server.c
index
51b725c
..
edb3eee
100644
(file)
--- a/
nbd-server.c
+++ b/
nbd-server.c
@@
-1394,7
+1394,7
@@
int mainloop(CLIENT *client) {
err("Not enough magic.");
if (len > BUFSIZE - sizeof(struct nbd_reply)) {
currlen = BUFSIZE - sizeof(struct nbd_reply);
err("Not enough magic.");
if (len > BUFSIZE - sizeof(struct nbd_reply)) {
currlen = BUFSIZE - sizeof(struct nbd_reply);
- msg("INFO: oversized request (this is not a problem)");
+ msg2(LOG_INFO, "oversized request (this is not a problem)");
} else {
currlen = len;
}
} else {
currlen = len;
}