Improve error reporting from notification calls.
authorZdeněk Salvet <salvet@ics.muni.cz>
Fri, 19 Mar 2010 12:21:18 +0000 (12:21 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Fri, 19 Mar 2010 12:21:18 +0000 (12:21 +0000)
org.glite.lb.server/src/lb_proto.c

index 5773d4a..06ad861 100644 (file)
@@ -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)