Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15411325
D17366.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17366.diff
View Options
diff --git a/src/hgdaemon/ArcanistHgServerChannel.php b/src/hgdaemon/ArcanistHgServerChannel.php
--- a/src/hgdaemon/ArcanistHgServerChannel.php
+++ b/src/hgdaemon/ArcanistHgServerChannel.php
@@ -54,6 +54,7 @@
private $mode = self::MODE_CHANNEL;
private $byteLengthOfNextChunk = 1;
private $buf = '';
+ private $outputChannel;
/* -( Protocol Implementation )-------------------------------------------- */
@@ -137,7 +138,7 @@
// 'output', 'error', 'result' or 'debug' respectively. This is a
// single byte long. Next, we'll expect a length.
- $this->channel = $chunk;
+ $this->outputChannel = $chunk;
$this->byteLengthOfNextChunk = 4;
$this->mode = self::MODE_LENGTH;
break;
@@ -153,11 +154,11 @@
// given length. We produce a message from the channel and the data
// and return it. Next, we expect another channel name.
- $message = array($this->channel, $chunk);
+ $message = array($this->outputChannel, $chunk);
$this->byteLengthOfNextChunk = 1;
$this->mode = self::MODE_CHANNEL;
- $this->channel = null;
+ $this->outputChannel = null;
$messages[] = $message;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 9:00 AM (1 d, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7712841
Default Alt Text
D17366.diff (1 KB)
Attached To
Mode
D17366: Fix a property name collision in ArcanistHgServerChannel
Attached
Detach File
Event Timeline
Log In to Comment