Fixed a few entities
[yaz-moved-to-github.git] / doc / comstack.xml
index e79871b..e96c4b3 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $Id: comstack.xml,v 1.6 2001-11-06 17:04:32 adam Exp $ -->
+<!-- $Id: comstack.xml,v 1.7 2002-02-24 12:23:43 adam Exp $ -->
  <chapter id="comstack"><title>The COMSTACK Module</title>
 
   <sect1 id="comstack.synopsis"><title>Synopsis (blocking mode)</title>
@@ -40,7 +40,7 @@ length_incoming = cs_get(stack, &amp;buf, &amp;size);
 if (!length_incoming) {
     fprintf(stderr, "Connection closed\n");
     exit(1);
-} else if (length_incoming < 0) {
+} else if (length_incoming &lt; 0) {
     cs_perror(stack, "cs_get");
     exit(1);
 }