]> diplodocus.org Git - nmh/blobdiff - uip/dropsbr.c
Removed temporary probes added in commit
[nmh] / uip / dropsbr.c
index 5fcef29ef8fcbd0871dd455e7448aa6cf71c54e0..7dc0a87be17ffdf140518e875cabd5b91ad7e99b 100644 (file)
@@ -40,7 +40,7 @@ static int map_open (char *, int);
 int
 mbx_open (char *file, int mbx_style, uid_t uid, gid_t gid, mode_t mode)
 {
-    int j, count, fd;
+    int j, count, fd = NOTOK;
     struct stat st;
 
     j = 0;
@@ -61,7 +61,7 @@ mbx_open (char *file, int mbx_style, uid_t uid, gid_t gid, mode_t mode)
                case ETXTBSY: 
                    j = errno;
                    sleep (5);
-                   break;
+                   continue;
 
                default: 
                    /* just return error */