aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-08-23 12:18:05 -0700
committerBen Pfaff <blp@nicira.com>2010-08-25 14:55:47 -0700
commit294e9fc859f87578be6e944a599b5c4af841e7d3 (patch)
tree4ac0f5c078a9e9e0d1a3ff760b43b0d2d064e95e /lib/stream.c
parent051a77d6777f23f3fe11dbd576d46ac6b5990b24 (diff)
stream, vconn: Fix comments.
All streams and all vconns are "active", so there's no point in noting that requirement in comments. (A long time ago, active and passive vconns were conflated instead of having passive vconns broken out as pvconns. But active and passive streams have always been distinct.)
Diffstat (limited to 'lib/stream.c')
-rw-r--r--lib/stream.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/stream.c b/lib/stream.c
index 43c95b6b..ac0cdb8f 100644
--- a/lib/stream.c
+++ b/lib/stream.c
@@ -323,10 +323,10 @@ scs_connecting(struct stream *stream)
}
}
-/* Tries to complete the connection on 'stream', which must be an active
- * stream. If 'stream''s connection is complete, returns 0 if the connection
- * was successful or a positive errno value if it failed. If the
- * connection is still in progress, returns EAGAIN. */
+/* Tries to complete the connection on 'stream'. If 'stream''s connection is
+ * complete, returns 0 if the connection was successful or a positive errno
+ * value if it failed. If the connection is still in progress, returns
+ * EAGAIN. */
int
stream_connect(struct stream *stream)
{