Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/comms/bforce-kst/files/patch-sess_stat.c
16461 views
1
--- bforce/sess_stat.c.old Sat Aug 7 02:06:26 2004
2
+++ bforce/sess_stat.c Sat Aug 7 02:11:29 2004
3
@@ -75,7 +75,7 @@
4
5
memset(stat, '\0', sizeof(s_sess_stat));
6
7
- fscanf(fp, "%u %u %u %u %u %lu %lu %lu %lu",
8
+ fscanf(fp, "%u %u %u %u %u %u %lu %lu %lu %lu",
9
(unsigned int *) &stat->tries,
10
(unsigned int *) &stat->tries_noconn,
11
(unsigned int *) &stat->tries_noansw,
12
@@ -98,7 +98,7 @@
13
if( fseek(fp, 0, SEEK_SET) == -1 )
14
return -1;
15
16
- fprintf(fp, "%u %u %u %u %u %lu %lu %lu %lu",
17
+ fprintf(fp, "%u %u %u %u %u %u %lu %lu %lu %lu",
18
(unsigned int) stat->tries,
19
(unsigned int) stat->tries_noconn,
20
(unsigned int) stat->tries_noansw,
21
22