Do not set ErrCode to EPERM in case event matches notification criteria but permissio...
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 13 Mar 2013 11:02:26 +0000 (11:02 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 17 Mar 2013 23:35:53 +0000 (00:35 +0100)
  - This is a normal operating condition, not an error to be reported.

org.glite.lb.server/src/notif_match.c

index 883cb73..7bae680 100644 (file)
@@ -145,7 +145,6 @@ int edg_wll_NotifMatch(edg_wll_Context ctx, const edg_wll_JobStat *oldstat, cons
                                                 getpid(),
                                                 ju = glite_jobid_getUnique(newstat.jobId));
                                free(ju);
-                               edg_wll_SetError(ctx, EPERM, NULL);
                                for (i=0; i<sizeof(jobc)/sizeof(jobc[0]); i++) free(jobc[i]);
                                continue;
                        }