Date: Thursday, March 30, 2006 @ 11:53:42
Author: zsolt
Path: /cvsroot/carob/libmysequoia/src
Modified: CarobCommon.cpp (1.9 -> 1.10)
changed the parsing of error now the message is truncated to the string between
the first '(' and the last ')'
-----------------+
CarobCommon.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: libmysequoia/src/CarobCommon.cpp
diff -u libmysequoia/src/CarobCommon.cpp:1.9
libmysequoia/src/CarobCommon.cpp:1.10
--- libmysequoia/src/CarobCommon.cpp:1.9 Wed Mar 29 10:40:37 2006
+++ libmysequoia/src/CarobCommon.cpp Thu Mar 30 11:53:42 2006
@@ -148,11 +148,11 @@
//need some chopping from strings like "xxxyyy (err msg)"
if (chop)
{
- sf = strrchr(errmsg, '(');
+ sf = strchr(errmsg, '(');
if (sf)
{
sf++;
- const char *sl = strchr(sf, ')');
+ const char *sl = strrchr(sf, ')');
if (!sl)
sf = 0;
else
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits