/[dgee]/dgee/cslib/DotGNU/XmlRpc/Serialization/MethodResponseFormatter.cs
ViewVC logotype

Diff of /dgee/cslib/DotGNU/XmlRpc/Serialization/MethodResponseFormatter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2.2.1 by csmith, Mon Oct 27 11:34:58 2003 UTC revision 1.2.2.2 by csmith, Tue Oct 28 00:33:03 2003 UTC
# Line 55  namespace DotGNU.XmlRpc.Serialization.Fo Line 55  namespace DotGNU.XmlRpc.Serialization.Fo
55      {      {
56        if( o is XmlRpcResponse ){        if( o is XmlRpcResponse ){
57          StreamWriter sw = new StreamWriter( stream );          StreamWriter sw = new StreamWriter( stream );
         StringWriter s = new StringWriter();  
58          XmlRpcWriter w = new XmlRpcWriter( sw );          XmlRpcWriter w = new XmlRpcWriter( sw );
59          w.Write( (XmlRpcResponse)o );          w.Write( (XmlRpcResponse)o );
60          sw.Write( s.ToString() );          w.Flush();
         sw.Flush();  
61        }        }
62        else {        else {
63            // TODO This should be an exception            // TODO This should be an exception

Legend:
Removed from v.1.2.2.1  
changed lines
  Added in v.1.2.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26