Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13175

Modified Files:
      Tag: XQuery_0-24
        serialize_dflt.mx 
Log Message:
one more fix of the check-ins that went to the wrong branch



U serialize_dflt.mx
Index: serialize_dflt.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/serialize_dflt.mx,v
retrieving revision 1.46.2.2
retrieving revision 1.46.2.3
diff -u -d -r1.46.2.2 -r1.46.2.3
--- serialize_dflt.mx   25 May 2008 21:49:53 -0000      1.46.2.2
+++ serialize_dflt.mx   25 May 2008 22:00:03 -0000      1.46.2.3
@@ -1002,13 +1002,15 @@
 static bool
 xrpc_startSerialize(XqueryCtx *ctx)
 {
+    stream_write(ctx->out, "HTTP/1.1 200 OK\r\n"
+            "Content-type: text/xml; charset=\"utf-8\"\r\n\r\n", 1, 60);
+
     /* We need to prepend "=" to each line, so make sure
        that we print one after each newline (encoded in
        newline string 'newline')->
        In addition we print one '=' at the beginning-> */
-    if (ctx->modes & MODE_MAPI){
+    if (ctx->modes & MODE_MAPI)
         stream_write (ctx->out, &e_, 1, 1);
-    }
 
     stream_printf(ctx->out, 
             "<?xml version=\"1.0\" encoding=\"utf-8\"?>%s"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to