|
|
8abba2 |
From 78e995f9f2958fc54e2a559a52c81684dc3460cf Mon Sep 17 00:00:00 2001
|
|
|
8abba2 |
From: giraffedata <giraffedata@98333e67-4a24-44d7-a75c-e53540dd3050>
|
|
|
8abba2 |
Date: Sun, 21 Jan 2018 22:27:31 +0000
|
|
|
8abba2 |
Subject: [PATCH] Remove trace statements accidentally committed with 2977
|
|
|
8abba2 |
|
|
|
8abba2 |
git-svn-id: https://svn.code.sf.net/p/xmlrpc-c/code/trunk@2981 98333e67-4a24-44d7-a75c-e53540dd3050
|
|
|
8abba2 |
---
|
|
|
8abba2 |
src/cpp/value.cpp | 8 --------
|
|
|
8abba2 |
src/xmlrpc_string.c | 5 -----
|
|
|
8abba2 |
2 files changed, 13 deletions(-)
|
|
|
8abba2 |
|
|
|
8abba2 |
diff --git a/src/cpp/value.cpp b/src/cpp/value.cpp
|
|
|
8abba2 |
index e2c12372..b319430e 100644
|
|
|
8abba2 |
--- a/src/cpp/value.cpp
|
|
|
8abba2 |
+++ b/src/cpp/value.cpp
|
|
|
8abba2 |
@@ -1,4 +1,3 @@
|
|
|
8abba2 |
-#include <iostream>
|
|
|
8abba2 |
/*****************************************************************************
|
|
|
8abba2 |
value.cpp
|
|
|
8abba2 |
******************************************************************************
|
|
|
8abba2 |
@@ -622,13 +621,9 @@ public:
|
|
|
8abba2 |
|
|
|
8abba2 |
switch (nlCode) {
|
|
|
8abba2 |
case value_string::nlCode_all:
|
|
|
8abba2 |
- cerr << "Going to call xmlrpc_string_new_lp" << endl;
|
|
|
8abba2 |
- cerr << "length = " << cppvalue.length() << ", value = "
|
|
|
8abba2 |
- << cppvalue.c_str() << endl;
|
|
|
8abba2 |
this->valueP = xmlrpc_string_new_lp(&env.env_c,
|
|
|
8abba2 |
cppvalue.length(),
|
|
|
8abba2 |
cppvalue.c_str());
|
|
|
8abba2 |
- cerr << "Back from xmlrpc_string_new_lp" << endl;
|
|
|
8abba2 |
break;
|
|
|
8abba2 |
case value_string::nlCode_lf:
|
|
|
8abba2 |
this->valueP = xmlrpc_string_new_lp_cr(&env.env_c,
|
|
|
8abba2 |
@@ -661,12 +656,9 @@ value_string::value_string(std::string const& cppvalue,
|
|
|
8abba2 |
|
|
|
8abba2 |
value_string::value_string(std::string const& cppvalue) {
|
|
|
8abba2 |
|
|
|
8abba2 |
- cerr << "value_string constructor entered" << endl;
|
|
|
8abba2 |
cNewStringWrapper wrapper(cppvalue, nlCode_all);
|
|
|
8abba2 |
- cerr << "wrapper constructed" << endl;
|
|
|
8abba2 |
|
|
|
8abba2 |
this->instantiate(wrapper.valueP);
|
|
|
8abba2 |
- cerr << "value_string constructor exiting" << endl;
|
|
|
8abba2 |
}
|
|
|
8abba2 |
|
|
|
8abba2 |
|
|
|
8abba2 |
diff --git a/src/xmlrpc_string.c b/src/xmlrpc_string.c
|
|
|
8abba2 |
index 2da61e4e..e6e00716 100644
|
|
|
8abba2 |
--- a/src/xmlrpc_string.c
|
|
|
8abba2 |
+++ b/src/xmlrpc_string.c
|
|
|
8abba2 |
@@ -1,4 +1,3 @@
|
|
|
8abba2 |
-#include <stdio.h>
|
|
|
8abba2 |
/*=============================================================================
|
|
|
8abba2 |
xmlrpc_string
|
|
|
8abba2 |
===============================================================================
|
|
|
8abba2 |
@@ -746,15 +745,12 @@ stringNew(xmlrpc_env * const envP,
|
|
|
8abba2 |
enum crTreatment const crTreatment,
|
|
|
8abba2 |
xmlrpc_value ** const valPP) {
|
|
|
8abba2 |
|
|
|
8abba2 |
- fprintf(stderr, "stringNew entered\n");
|
|
|
8abba2 |
xmlrpc_value * valP;
|
|
|
8abba2 |
|
|
|
8abba2 |
xmlrpc_validate_utf8(envP, value, length);
|
|
|
8abba2 |
|
|
|
8abba2 |
if (!envP->fault_occurred) {
|
|
|
8abba2 |
- fprintf(stderr, "Going to xmlrpc_createXmlrpcValue\n");
|
|
|
8abba2 |
xmlrpc_createXmlrpcValue(envP, &valP);
|
|
|
8abba2 |
- fprintf(stderr, "Back from createXmlrpcValue\n");
|
|
|
8abba2 |
|
|
|
8abba2 |
if (!envP->fault_occurred) {
|
|
|
8abba2 |
valP->_type = XMLRPC_TYPE_STRING;
|
|
|
8abba2 |
@@ -774,7 +770,6 @@ stringNew(xmlrpc_env * const envP,
|
|
|
8abba2 |
*valPP = valP;
|
|
|
8abba2 |
}
|
|
|
8abba2 |
}
|
|
|
8abba2 |
- fprintf(stderr, "stringNew exiting\n");
|
|
|
8abba2 |
}
|
|
|
8abba2 |
|
|
|
8abba2 |
|
|
|
8abba2 |
--
|
|
|
8abba2 |
2.17.0
|
|
|
8abba2 |
|