more verbose debug message
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 14 Mar 2006 13:51:54 +0000 (13:51 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 14 Mar 2006 13:51:54 +0000 (13:51 +0000)
org.glite.security.gsoap-plugin/src/glite_gsplugin.c

index 43a1aee..d7a9891 100644 (file)
@@ -306,7 +306,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; }
 
@@ -346,6 +345,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;
 }
@@ -360,7 +360,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
@@ -381,6 +380,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;