projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svec: New function svec_is_empty().
[openvswitch]
/
lib
/
rconn.c
diff --git
a/lib/rconn.c
b/lib/rconn.c
index c0bc95d8f4dc8b2a4dbba6855f25da7f37094737..b6e958eeda0dbf8e746a85b37c711ca5b02456a1 100644
(file)
--- a/
lib/rconn.c
+++ b/
lib/rconn.c
@@
-89,7
+89,7
@@
struct rconn {
time_t last_admitted;
/* These values are simply for statistics reporting, not used directly by
time_t last_admitted;
/* These values are simply for statistics reporting, not used directly by
- * anything internal to the rconn (or
the secchan
for that matter). */
+ * anything internal to the rconn (or
ofproto
for that matter). */
unsigned int packets_received;
unsigned int n_attempted_connections, n_successful_connections;
time_t creation_time;
unsigned int packets_received;
unsigned int n_attempted_connections, n_successful_connections;
time_t creation_time;
@@
-176,7
+176,7
@@
rconn_new_from_vconn(const char *name, struct vconn *vconn)
struct rconn *
rconn_create(int probe_interval, int max_backoff)
{
struct rconn *
rconn_create(int probe_interval, int max_backoff)
{
- struct rconn *rc = x
calloc(1,
sizeof *rc);
+ struct rconn *rc = x
zalloc(
sizeof *rc);
rc->state = S_VOID;
rc->state_entered = time_now();
rc->state = S_VOID;
rc->state_entered = time_now();