Bug fix: egw_source <file> <var> didn't work properly.
[egate.git] / www / wproto.c
index 992d800..7042755 100644 (file)
@@ -41,6 +41,9 @@
  * 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.
@@ -539,8 +542,8 @@ static int wproto_findcache(WCLIENT wc, char *name)
 
 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)