Use do while instead of weird code
Use do while instead of weird code

Signed-off-by: Jakob Bornecrantz <2a58f49788865949713c2d2b613178059f899d6a@gmail.com>

deadalnix/SDC,DmitryOlshansky/SDC,JohanEngelen/SDC,JohanEngelen/SDC,carlor/SDC,SDC-Developers/SDC,UplinkCoder/SDC,SDC-Developers/SDC,sidmutha/SDC,JohanEngelen/SDC,UplinkCoder/SDC,schancel/SDC,bpr/SDC,DmitryOlshansky/SDC,SDC-Developers/SDC,DmitryOlshansky/SDC,schancel/SDC,UplinkCoder/SDC,sidmutha/SDC,sidmutha/SDC,deadalnix/SDC,bpr/SDC,deadalnix/SDC,bpr/SDC,schancel/SDC