You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@hyperreal.org on 2000/02/01 01:57:43 UTC
cvs commit: apache-2.0/src/lib/apr/file_io/win32 seek.c
stoddard 00/01/31 16:57:40
Modified: src/lib/apr/file_io/win32 seek.c
Log:
Fix indenting
Revision Changes Path
1.2 +16 -16 apache-2.0/src/lib/apr/file_io/win32/seek.c
Index: seek.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/seek.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- seek.c 1999/08/17 15:59:37 1.1
+++ seek.c 2000/02/01 00:57:34 1.2
@@ -61,24 +61,24 @@
ap_status_t ap_seek(struct file_t *thefile, ap_seek_where_t where, ap_off_t *offset)
{
DWORD howmove;
- DWORD rv;
+ DWORD rv;
- switch(where) {
- case APR_SET: {
- howmove = FILE_BEGIN;
- break;
- }
- case APR_CUR: {
- howmove = FILE_CURRENT;
- break;
- }
- case APR_END: {
- howmove = FILE_END;
- break;
- }
- }
+ switch(where) {
+ case APR_SET: {
+ howmove = FILE_BEGIN;
+ break;
+ }
+ case APR_CUR: {
+ howmove = FILE_CURRENT;
+ break;
+ }
+ case APR_END: {
+ howmove = FILE_END;
+ break;
+ }
+ }
- rv = SetFilePointer(thefile->filehand, *offset,NULL, howmove);
+ rv = SetFilePointer(thefile->filehand, *offset, NULL, howmove);
if (rv == -1) {
*offset = -1;
return APR_EEXIST;