projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
[qemu]
/
hw
/
smc91c111.c
diff --git
a/hw/smc91c111.c
b/hw/smc91c111.c
index
a6a11e0
..
b8d0cba
100644
(file)
--- a/
hw/smc91c111.c
+++ b/
hw/smc91c111.c
@@
-649,7
+649,7
@@
static void smc91c111_receive(void *opaque, const uint8_t *buf, int size)
/* Pad short packets. */
if (size < 64) {
int pad;
-
+
if (size & 1)
*(p++) = buf[size - 1];
pad = 64 - size;