mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 01:44:54 +00:00
12 lines
232 B
Diff
12 lines
232 B
Diff
|
--- a/src/time/__tz.c
|
||
|
+++ b/src/time/__tz.c
|
||
|
@@ -87,7 +87,7 @@
|
||
|
int i;
|
||
|
if (**p == '<') {
|
||
|
++*p;
|
||
|
- for (i=0; **p!='>' && i<TZNAME_MAX; i++)
|
||
|
+ for (i=0; (*p)[i]!='>' && i<TZNAME_MAX; i++)
|
||
|
d[i] = (*p)[i];
|
||
|
++*p;
|
||
|
} else {
|