Commented out printf statements in the generic client.
This commit is contained in:
@@ -57,10 +57,10 @@ 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");
|
||||
//printf("%s\n","OK");
|
||||
}
|
||||
if (client->client->response_code == 401) {
|
||||
printf("%s\n","Unauthorized");
|
||||
//printf("%s\n","Unauthorized");
|
||||
return NULL;
|
||||
}
|
||||
char* elementToReturn = strndup((char*)client->client->dataReceived, client->client->dataReceivedLen);
|
||||
@@ -138,7 +138,7 @@ 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);
|
||||
//printf("%s\n", path);
|
||||
return callSimplifiedInternal(client, path, "POST", body);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user