blob: 14e5f3e6bbe998ffc482ca9dce42b2f80491ef0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -Naur sarg-2.2.2/log.c sarg-2.2.2-new/log.c
--- sarg-2.2.2/log.c 2006-08-29 15:09:32.000000000 +0400
+++ sarg-2.2.2-new/log.c 2006-09-06 13:37:50.000000000 +0400
@@ -733,7 +733,7 @@
getword(val3,arqtt,'_');
sprintf(period,"%s-%s",val2,val3);
sarglog=1;
- } else lseek(fileno(fp_in), 0, 0);
+ } else rewind(fp_in);
if(strcmp(ParsedOutputLog, "no") != 0 && !sarglog) {
if(access(ParsedOutputLog,R_OK) != 0) {
|