* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: wproto.c,v $
+ * Revision 1.25 1997/02/10 10:15:38 adam
+ * Bug fix: egw_source <file> <var> didn't work properly.
+ *
* Revision 1.24 1997/01/31 11:16:00 adam
* Enhanced the egw_source command. An optional parameter specifies the
* name of a variable in which the HTML output is stored.
int wproto_save_push (WCLIENT wc)
{
- return wc->outbuffer_offset;
wc->save_level++;
+ return wc->outbuffer_offset;
}
char *wproto_save_pop (WCLIENT wc, int offset)
* 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.
} *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);
* USE OR PERFORMANCE OF THIS SOFTWARE.
*
* $Log: wtcl.c,v $
+ * Revision 1.21 1997/02/10 10:15:40 adam
+ * Bug fix: egw_source <file> <var> didn't work properly.
+ *
* Revision 1.20 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.
while (*cp)
{
if (*cp < ' ' || *cp >= 127 || *cp == '&' || *cp == '?'
- || *cp == '%' || *cp == '+')
+ || *cp == '%' || *cp == '+' || *cp == '"')
{
sprintf (buf1+1, "%02X", *cp & 0xff);
Tcl_AppendResult (interp, buf1, NULL);