ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/xmltv_parser/trunk/libxmltv/Core/XMLTVSerializer.cs
(Generate patch)

Comparing trunk/libxmltv/Core/XMLTVSerializer.cs (file contents):
Revision 54 by william, Fri Mar 8 06:15:44 2013 UTC vs.
Revision 55 by william, Fri Mar 8 10:19:32 2013 UTC

# Line 28 | Line 28 | namespace libxmltv.Core
28                  BinaryFormatter bin = new BinaryFormatter();
29                  bin.Serialize(stream, data);
30              }
31 <            catch (Exception ex) { xmltv_logger.Log.Error.WriteLine(ex.ToString()); return false; }
31 >            catch (Exception ex) { xmltv_logger.Error.WriteLine(ex.ToString()); return false; }
32              return true;
33          }
34          public T DeSerialize(string file, out bool status)
# Line 45 | Line 45 | namespace libxmltv.Core
45                  BinaryFormatter bin = new BinaryFormatter();
46                  unpacked_data = (T)bin.Deserialize(stream);
47              }
48 <            catch (Exception ex) { xmltv_logger.Log.Error.WriteLine(ex.ToString()); status = false; }
48 >            catch (Exception ex) { xmltv_logger.Error.WriteLine(ex.ToString()); status = false; }
49              status = true;
50              return unpacked_data;
51          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines