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