/[xmltv_parser]/trunk/libxmltv/Core/XMLTVSerializer.cs
ViewVC logotype

Diff of /trunk/libxmltv/Core/XMLTVSerializer.cs

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

--- trunk/libxmltv/Core/XMLTVSerializer.cs	2013/03/08 08:51:10	54
+++ trunk/libxmltv/Core/XMLTVSerializer.cs	2013/03/08 10:19:32	55
@@ -28,7 +28,7 @@
                 BinaryFormatter bin = new BinaryFormatter();
                 bin.Serialize(stream, data);
             }
-            catch (Exception ex) { xmltv_logger.Log.Error.WriteLine(ex.ToString()); return false; }
+            catch (Exception ex) { xmltv_logger.Error.WriteLine(ex.ToString()); return false; }
             return true;
         }
         public T DeSerialize(string file, out bool status)
@@ -45,7 +45,7 @@
                 BinaryFormatter bin = new BinaryFormatter();
                 unpacked_data = (T)bin.Deserialize(stream);
             }
-            catch (Exception ex) { xmltv_logger.Log.Error.WriteLine(ex.ToString()); status = false; }
+            catch (Exception ex) { xmltv_logger.Error.WriteLine(ex.ToString()); status = false; }
             status = true;
             return unpacked_data;
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22