Author: buildbot
Date: Sun Mar 23 06:48:10 2014
New Revision: 903116

Log:
Staging update by buildbot for thrift

Modified:
    websites/staging/thrift/trunk/content/   (props changed)
    websites/staging/thrift/trunk/content/tutorial/nodejs.html

Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Mar 23 06:48:10 2014
@@ -1 +1 @@
-1580459
+1580460

Modified: websites/staging/thrift/trunk/content/tutorial/nodejs.html
==============================================================================
--- websites/staging/thrift/trunk/content/tutorial/nodejs.html (original)
+++ websites/staging/thrift/trunk/content/tutorial/nodejs.html Sun Mar 23 
06:48:10 2014
@@ -140,6 +140,11 @@
 
   <span class="nx">client</span><span class="p">.</span><span 
class="nx">getStruct</span><span class="p">(</span><span 
class="mi">1</span><span class="p">,</span> <span 
class="kd">function</span><span class="p">(</span><span 
class="nx">err</span><span class="p">,</span> <span 
class="nx">message</span><span class="p">){</span>
     <span class="nx">console</span><span class="p">.</span><span 
class="nx">log</span><span class="p">(</span><span class="s1">&#39;Check log: 
&#39;</span> <span class="o">+</span> <span class="nx">message</span><span 
class="p">.</span><span class="nx">value</span><span class="p">);</span>
+
+    <span class="c1">//close the connection once we&#39;re done</span>
+    <span class="nx">connection</span><span class="p">.</span><span 
class="nx">end</span><span class="p">();</span>
+  <span class="p">});</span>
+<span class="p">});</span>
 </pre></div>
 
 <h3 id="server">Server</h3>


Reply via email to