Blame SOURCES/0001-Remove-trace-statements-accidentally-committed-with-.patch

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