Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 65281b91cc12766ca586c78cec0ed07d > files > 1

incron-0.5.9-1mdv2010.0.src.rpm

--- incron-0.5.9/incroncfg.cpp.orig	2009-06-21 22:27:24.000000000 +0200
+++ incron-0.5.9/incroncfg.cpp	2009-07-21 00:30:49.000000000 +0200
@@ -181,7 +181,7 @@
 
 bool IncronCfg::IsComment(const char* s)
 {
-  char* sx = strchr(s, '#');
+  const char* sx = strchr(s, '#');
   if (sx == NULL)
     return false;