Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > fac71d87bba18c5ecc78f71d4cb07393 > files > 1

cel-1.2.1-4mdv2010.0.src.rpm

--- plugins/propclass/mechanics/common.h~	2008-04-22 15:56:57.000000000 +0200
+++ plugins/propclass/mechanics/common.h	2009-01-22 15:32:33.000000000 +0100
@@ -22,6 +22,6 @@
 
 #include "ivaria/reporter.h"
 
-#define CS_REPORT(severity,message) csReport (object_reg, CS_REPORTER_SEVERITY_##severity, "cel.propclass.mechanics", message);
+#define CS_REPORT(severity,message) csReport (object_reg, CS_REPORTER_SEVERITY_##severity, "cel.propclass.mechanics", "%s", message);
 
 #endif //__MECHANICS_COMMON_H__
--- plugins/behaviourlayer/python/blcel.cpp~	2008-04-22 15:56:52.000000000 +0200
+++ plugins/behaviourlayer/python/blcel.cpp	2009-01-22 16:13:01.000000000 +0100
@@ -877,7 +877,7 @@
     Py_DECREF(old_str);
     Py_DECREF(value);
   } else {
-    PyErr_Format(PyExc_RuntimeError, mesg);
+    PyErr_Format(PyExc_RuntimeError, "%s",mesg);
   }
 }