celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject celix git commit: CELIX-237: Removed some printf statements
Date Wed, 09 Sep 2015 18:45:39 GMT
Repository: celix
Updated Branches:
  refs/heads/feature/CELIX-237_rsa-ffi b74a63b06 -> c647773eb


CELIX-237: Removed some printf statements


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/c647773e
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/c647773e
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/c647773e

Branch: refs/heads/feature/CELIX-237_rsa-ffi
Commit: c647773eb53b4643110d6ed53a9fdc874c95e58f
Parents: b74a63b
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Wed Sep 9 20:45:14 2015 +0200
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Wed Sep 9 20:45:14 2015 +0200

----------------------------------------------------------------------
 .../rsa/private/src/import_registration_dfi.c                | 8 ++++----
 .../rsa/private/src/remote_service_admin_dfi.c               | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/c647773e/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
b/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
index 9c4d717..d192e29 100644
--- a/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
+++ b/remote_services/remote_service_admin_dfi/rsa/private/src/import_registration_dfi.c
@@ -232,18 +232,18 @@ static void importRegistration_proxyFunc(void *userData, void *args[],
void *ret
     char *invokeRequest = NULL;
     if (status == CELIX_SUCCESS) {
         status = jsonRpc_prepareInvokeRequest(entry->dynFunc, entry->id, args, &invokeRequest);
-        printf("Need to send following json '%s'\n", invokeRequest);
+        //printf("Need to send following json '%s'\n", invokeRequest);
     }
 
     if (status == CELIX_SUCCESS) {
         char *reply = NULL;
         int rc = 0;
-        printf("sending request\n");
+        //printf("sending request\n");
         import->send(import->sendHandle, import->endpoint, invokeRequest, &reply,
&rc);
-        printf("request sended. got reply '%s' with status %i\n", reply, rc);
+        //printf("request sended. got reply '%s' with status %i\n", reply, rc);
 
         if (rc == 0) {
-            printf("handling reply\n");
+            //printf("handling reply\n");
             status = jsonRpc_handleReply(entry->dynFunc, reply, args);
         }
 

http://git-wip-us.apache.org/repos/asf/celix/blob/c647773e/remote_services/remote_service_admin_dfi/rsa/private/src/remote_service_admin_dfi.c
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/rsa/private/src/remote_service_admin_dfi.c
b/remote_services/remote_service_admin_dfi/rsa/private/src/remote_service_admin_dfi.c
index 00a4b0f..8eadbdb 100644
--- a/remote_services/remote_service_admin_dfi/rsa/private/src/remote_service_admin_dfi.c
+++ b/remote_services/remote_service_admin_dfi/rsa/private/src/remote_service_admin_dfi.c
@@ -339,7 +339,7 @@ static int remoteServiceAdmin_callback(struct mg_connection *conn) {
                 if (response != NULL) {
                     mg_write(conn, data_response_headers, strlen(data_response_headers));
 //              mg_write(conn, no_content_response_headers, strlen(no_content_response_headers));
-                    printf("writing response '%s'\n", response);
+                    //printf("writing response '%s'\n", response);
                     mg_write(conn, response, strlen(response));
 //              mg_send_data(conn, response, strlen(response));
 //              mg_write_data(conn, response, strlen(response));


Mime
View raw message