projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8f1d0
)
cfg: Write correct data when retrying a partial write, in cfg_write_data().
author
Ben Pfaff
<blp@nicira.com>
Thu, 12 Mar 2009 16:36:58 +0000
(09:36 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 12 Mar 2009 16:37:23 +0000
(09:37 -0700)
lib/cfg.c
patch
|
blob
|
history
diff --git
a/lib/cfg.c
b/lib/cfg.c
index ae07356b9dd944cfc1adf23184a1438d8dac211a..ed177404adc2c2255ba6b66fff2ecd74f4245580 100644
(file)
--- a/
lib/cfg.c
+++ b/
lib/cfg.c
@@
-363,6
+363,7
@@
cfg_write_data(uint8_t *data, size_t len)
return errno;
}
len -= retval;
+ data += retval;
}
close(fd);