[Swift-commit] cog r3550
swift at ci.uchicago.edu
swift at ci.uchicago.edu
Fri Jan 11 14:30:06 CST 2013
------------------------------------------------------------------------
r3550 | hategan | 2013-01-11 14:27:11 -0600 (Fri, 11 Jan 2013) | 1 line
added initial flag to C client
------------------------------------------------------------------------
Index: modules/provider-coaster-c-client/src/Flags.h
===================================================================
--- modules/provider-coaster-c-client/src/Flags.h (revision 3549)
+++ modules/provider-coaster-c-client/src/Flags.h (working copy)
@@ -12,5 +12,6 @@
#define FLAG_REPLY 0x01
#define FLAG_SIGNAL 0x10
#define FLAG_FINAL 0x02
+#define FLAG_INITIAL 0x20
#endif /* CONSTANTS_H_ */
Index: modules/provider-coaster-c-client/src/Command.cpp
===================================================================
--- modules/provider-coaster-c-client/src/Command.cpp (revision 3549)
+++ modules/provider-coaster-c-client/src/Command.cpp (working copy)
@@ -24,7 +24,7 @@
list<Buffer*>* od = getOutData();
- channel->send(tag, Buffer::wrap(name), od->empty() ? FLAG_FINAL : 0, this);
+ channel->send(tag, Buffer::wrap(name), od->empty() ? FLAG_FINAL + FLAG_INITIAL : FLAG_INITIAL, this);
while (od->size() > 0) {
Buffer* b = od->front();
More information about the Swift-commit
mailing list