fix open up to 4 times on mbox_open()
authorPhilipp Takacs <philipp@bureaucracy.de>
Sat, 29 Aug 2015 09:56:34 +0000 (11:56 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sat, 5 Sep 2015 18:21:52 +0000 (20:21 +0200)
Befor this lkopen was only called ones.

uip/dropsbr.c

index 5fbbb61..0ce5425 100644 (file)
@@ -45,7 +45,7 @@ mbox_open(char *file, uid_t uid, gid_t gid, mode_t mode)
                        case ETXTBSY:
                                i = errno;
                                sleep(5);
-                               break;
+                               continue;
 
                        default:
                                /* just return error */