Bugfix: Segmentation fault when reading an rpm package list
[gnucomo.git] / src / gcm_input / gcm_input.cpp
index bcce2e8..4717f22 100644 (file)
@@ -7,7 +7,7 @@
 ***********************
 **      FILE NAME      : gcm_input.cpp
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.14 $
+**      VERSION NUMBER : $Revision: 1.15 $
 **
 **  DESCRIPTION      :  Application to store client messages into the database
 **                      The client message contains a log file from one of the
 
 /*****************************
    $Log: gcm_input.cpp,v $
-   Revision 1.14  2007-11-03 10:26:13  arjen
+   Revision 1.15  2007-11-14 16:19:25  arjen
+   Bugfix: Segmentation fault when reading an rpm package list
+   with empty lines.
+
+   Revision 1.14  2007/11/03 10:26:13  arjen
    Added a new filter which can directly read the output
    of the UNIX df command. A brief description is added in
    the user manual.
 
 *****************************/
 
-static const char *RCSID = "$Id: gcm_input.cpp,v 1.14 2007-11-03 10:26:13 arjen Exp $";
+static const char *RCSID = "$Id: gcm_input.cpp,v 1.15 2007-11-14 16:19:25 arjen Exp $";
 
 #include <fstream>
 
@@ -302,7 +306,6 @@ int main(int argc, char *argv[])
       msg.add_cooker(&dlc,  &df);
 
       message_probability = msg.classify(hostname, arrival, service);
-      *Log << "Message type probability = " << message_probability << "\n";
       if (message_probability > 0.75)
       {
          try