--------------------- PatchSet 8646 Date: 2006/09/16 19:24:37 Author: serassio Branch: nt Tag: (none) Log: Ran indent Members: src/fs/aufs/aiops_win32.c:1.1.2.4->1.1.2.5 Index: squid/src/fs/aufs/aiops_win32.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/fs/aufs/aiops_win32.c,v retrieving revision 1.1.2.4 retrieving revision 1.1.2.5 diff -u -r1.1.2.4 -r1.1.2.5 --- squid/src/fs/aufs/aiops_win32.c 16 Sep 2006 19:17:19 -0000 1.1.2.4 +++ squid/src/fs/aufs/aiops_win32.c 16 Sep 2006 19:24:37 -0000 1.1.2.5 @@ -1,5 +1,5 @@ /* - * $Id: aiops_win32.c,v 1.1.2.4 2006/09/16 19:17:19 serassio Exp $ + * $Id: aiops_win32.c,v 1.1.2.5 2006/09/16 19:24:37 serassio Exp $ * * DEBUG: section 43 Windows AIOPS * AUTHOR: Stewart Forster @@ -440,7 +440,6 @@ CloseHandle(cond); fatal("Can't release mutex\n"); } - while (1) { DWORD rv; threadp->current_req = request = NULL; @@ -569,15 +568,15 @@ /* Play some tricks with the request_queue2 queue */ request->next = NULL; if (!request_queue2.head) { - if (WaitForSingleObject(request_queue.mutex, 0) == WAIT_OBJECT_0) { + if (WaitForSingleObject(request_queue.mutex, 0) == WAIT_OBJECT_0) { /* Normal path */ *request_queue.tailp = request; request_queue.tailp = &request->next; if (!SetEvent(request_queue.cond)) - fatal("couldn't push queue\n"); + fatal("couldn't push queue\n"); if (!ReleaseMutex(request_queue.mutex)) { - /* unexpected error */ - fatal("couldn't push queue\n"); + /* unexpected error */ + fatal("couldn't push queue\n"); } } else { /* Oops, the request queue is blocked, use request_queue2 */ @@ -588,15 +587,15 @@ /* Secondary path. We have blocked requests to deal with */ /* add the request to the chain */ *request_queue2.tailp = request; - if (WaitForSingleObject(request_queue.mutex, 0) == WAIT_OBJECT_0) { + if (WaitForSingleObject(request_queue.mutex, 0) == WAIT_OBJECT_0) { /* Ok, the queue is no longer blocked */ *request_queue.tailp = request_queue2.head; request_queue.tailp = &request->next; if (!SetEvent(request_queue.cond)) - fatal("couldn't push queue\n"); + fatal("couldn't push queue\n"); if (!ReleaseMutex(request_queue.mutex)) { - /* unexpected error */ - fatal("couldn't push queue\n"); + /* unexpected error */ + fatal("couldn't push queue\n"); } request_queue2.head = NULL; request_queue2.tailp = &request_queue2.head;