Changed name of member errno to errorno since some systems
[egate.git] / www / wproto.h
index 5fb5a8c..6beb5ed 100644 (file)
@@ -41,6 +41,9 @@
  * USE OR PERFORMANCE OF THIS SOFTWARE.
  *
  * $Log: wproto.h,v $
+ * Revision 1.15  1997/02/10 10:15:40  adam
+ * Bug fix: egw_source <file> <var> didn't work properly.
+ *
  * Revision 1.14  1997/01/31 11:16:01  adam
  * Enhanced the egw_source command. An optional parameter specifies the
  * name of a variable in which the HTML output is stored.
@@ -154,7 +157,7 @@ typedef struct wclient_data
 } *WCLIENT, wclient_data;
 
 #define wo_putc(wc, ch)   \
-    ((wc)->outbuffer_offset >= OUTBUFFER_CHUNK ? wo_overflow((wc), (ch)) :  \
+    ((wc)->outbuffer_offset>=(wc)->outbuffer_size ? wo_overflow((wc), (ch)):  \
     (*((wc)->outbuffer + (wc)->outbuffer_offset++) = (char) (ch)), 0)
 
 char *wgetval (WCLIENT wc, char *name);