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

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