Merge from the pre-cares branch
authorDaniel Kouřil <kouril@ics.muni.cz>
Fri, 24 Mar 2006 21:05:44 +0000 (21:05 +0000)
committerDaniel Kouřil <kouril@ics.muni.cz>
Fri, 24 Mar 2006 21:05:44 +0000 (21:05 +0000)
org.glite.security.gsoap-plugin/src/glite_gsplugin.c

index ce07a54..0cd5d30 100644 (file)
@@ -332,7 +332,6 @@ glite_gsplugin_recv(struct soap *soap, char *buf, size_t bufsz)
        int                                             len;
 
 
-       pdprintf(("GSLITE_GSPLUGIN: glite_gsplugin_recv()\n"));
        ctx = ((int_plugin_data_t *)soap_lookup_plugin(soap, plugin_id))->ctx;
        if ( ctx->error_msg ) { free(ctx->error_msg); ctx->error_msg = NULL; }
 
@@ -372,6 +371,7 @@ glite_gsplugin_recv(struct soap *soap, char *buf, size_t bufsz)
 
                /* default: fallthrough */
        }
+       pdprintf(("GSLITE_GSPLUGIN: glite_gsplugin_recv() = %d\n",len));
 
        return len;
 }
@@ -386,7 +386,6 @@ glite_gsplugin_send(struct soap *soap, const char *buf, size_t bufsz)
        int                                             ret;
 
 
-       pdprintf(("GSLITE_GSPLUGIN: glite_gsplugin_send()\n"));
        ctx = ((int_plugin_data_t *)soap_lookup_plugin(soap, plugin_id))->ctx;
        /* XXX: check whether ctx is initialized
         *      i.e. ctx->connection != NULL
@@ -407,6 +406,8 @@ glite_gsplugin_send(struct soap *soap, const char *buf, size_t bufsz)
 
        sigaction(SIGPIPE, &osa, NULL);
 
+       pdprintf(("GSLITE_GSPLUGIN: glite_gsplugin_send(%d) = %d\n",bufsz,ret));
+
        switch ( ret ) {
        case EDG_WLL_GSS_OK:
                break;