- when error raised, look whether variable was used before
authorJiří Škrábal <nykolas@ics.muni.cz>
Wed, 7 Sep 2005 14:48:40 +0000 (14:48 +0000)
committerJiří Škrábal <nykolas@ics.muni.cz>
Wed, 7 Sep 2005 14:48:40 +0000 (14:48 +0000)
org.glite.lb.server/src/srv_purge.c

index a2068dc..5b3c117 100644 (file)
@@ -357,7 +357,7 @@ abort:
        }
        
        if (ret != HTTP_INTERNAL) {
-               if ( request->flags & EDG_WLL_PURGE_SERVER_DUMP )
+               if ( request->flags & EDG_WLL_PURGE_SERVER_DUMP && tmpfname )
                {
                        edg_wll_CreatePurgeFileFromTmp(ctx, tmpfname, &(result.server_file));
                        unlink(tmpfname);