Forgotten fix of error propagation.
authorJiří Filipovič <fila@ics.muni.cz>
Fri, 20 Jul 2007 14:32:07 +0000 (14:32 +0000)
committerJiří Filipovič <fila@ics.muni.cz>
Fri, 20 Jul 2007 14:32:07 +0000 (14:32 +0000)
org.glite.jp.ws-interface/src/ws_fault.c

index 1d62782..d95ab7b 100644 (file)
@@ -140,4 +140,7 @@ static void glite_jp_server_err2fault(const glite_jp_context_t ctx,struct soap *
 #endif
        detail->__type = GFNUM;
        detail->__any = NULL;
+
+       if (soap->version == 2) soap->fault->SOAP_ENV__Detail = detail;
+       else soap->fault->detail = detail;
 }