From: Zdeněk Salvet Date: Fri, 19 Mar 2010 12:21:18 +0000 (+0000) Subject: Improve error reporting from notification calls. X-Git-Tag: glite-jobid-api-c_R_1_0_2_1~37 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=a8472a32011f86562c2bca2edb8a8fc394b634f8;p=jra1mw.git Improve error reporting from notification calls. --- diff --git a/org.glite.lb.server/src/lb_proto.c b/org.glite.lb.server/src/lb_proto.c index 5773d4a..06ad861 100644 --- a/org.glite.lb.server/src/lb_proto.c +++ b/org.glite.lb.server/src/lb_proto.c @@ -1145,7 +1145,7 @@ edg_wll_ErrorCode edg_wll_Proto(edg_wll_Context ctx, case EPERM : ret = HTTP_UNAUTH; break; case EDG_WLL_ERROR_NOINDEX: ret = HTTP_UNAUTH; break; case ENOMEM: fatal = 1; ret = HTTP_INTERNAL; break; - default: ret = HTTP_INTERNAL; break; + default: ret = HTTP_UNAVAIL; break; } /* glue errors (if eny) to XML responce */ if (!html && !fatal)