projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb-data: New function ovsdb_datum_from_shash().
[openvswitch]
/
lib
/
stream-fd.c
diff --git
a/lib/stream-fd.c
b/lib/stream-fd.c
index cc897b3d9f56186e31da32212eac3c85a9aa8fdd..ef4dc8d9112eae8d625016b0788f8cd9acc448f4 100644
(file)
--- a/
lib/stream-fd.c
+++ b/
lib/stream-fd.c
@@
-31,9
+31,9
@@
#include "util.h"
#include "stream-provider.h"
#include "stream.h"
#include "util.h"
#include "stream-provider.h"
#include "stream.h"
-
#include "vlog.h"
#include "vlog.h"
-#define THIS_MODULE VLM_stream_fd
+
+VLOG_DEFINE_THIS_MODULE(stream_fd)
/* Active file descriptor stream. */
/* Active file descriptor stream. */
@@
-214,7
+214,7
@@
pfd_accept(struct pstream *pstream, struct stream **new_streamp)
new_fd = accept(ps->fd, (struct sockaddr *) &ss, &ss_len);
if (new_fd < 0) {
new_fd = accept(ps->fd, (struct sockaddr *) &ss, &ss_len);
if (new_fd < 0) {
-
int
retval = errno;
+ retval = errno;
if (retval != EAGAIN) {
VLOG_DBG_RL(&rl, "accept: %s", strerror(retval));
}
if (retval != EAGAIN) {
VLOG_DBG_RL(&rl, "accept: %s", strerror(retval));
}