From 0314e97a6dff29e6e06789baf3cc70ed1566f71e Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 4 Sep 2023 00:00:58 +0200 Subject: Fix compilation < Nim 2.0 Before Nim 2.0, addr could only be used with mutable variables. --- src/io/data.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/io/data.nim') diff --git a/src/io/data.nim b/src/io/data.nim index 6e70eca4..3afe58f0 100644 --- a/src/io/data.nim +++ b/src/io/data.nim @@ -12,7 +12,7 @@ proc loadData*(handle: LoaderHandle, request: Request) = template t(body: untyped) = if not body: return - let str = $request.url + var str = $request.url let si = "data:".len # start index var ct = "" for i in si ..< str.len: -- cgit 1.4.1-2-gfad0 '8f8c57cc7c0e876cd291e2b4de23a52e060b30ba'/> Unnamed repository; edit this file 'description' to name the repository.
about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTAlert.c
blob: 799db6cba5fb380852d0d60af117e380d7c6c2ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126