Removed printf lines instead of commenting.

This commit is contained in:
Steve Sperandeo
2024-03-08 11:46:43 -08:00
committed by GitHub
parent ccf8dda691
commit c7ca96c069

View File

@@ -56,11 +56,7 @@ char* callInternal(genericClient_t *client,
{
apiClient_invoke(client->client, path, queryParameters, headerParameters, formParameters, headerType, contentType, body, method);
if (client->client->response_code == 200) {
//printf("%s\n","OK");
}
if (client->client->response_code == 401) {
//printf("%s\n","Unauthorized");
return NULL;
}
char* elementToReturn = strndup((char*)client->client->dataReceived, client->client->dataReceivedLen);
@@ -138,7 +134,6 @@ char* Generic_createNamespacedResource(genericClient_t *client, const char *ns,
char* Generic_createResource(genericClient_t *client, const char* body) {
char path[128];
makeResourcePath(path, client, "");
//printf("%s\n", path);
return callSimplifiedInternal(client, path, "POST", body);
}