You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
288 B
14 lines
288 B
16 years ago
|
--- a/networking/brctl.c
|
||
|
+++ b/networking/brctl.c
|
||
|
@@ -34,8 +34,9 @@ static ALWAYS_INLINE void strtotimeval(s
|
||
|
{
|
||
|
double secs;
|
||
|
#if BRCTL_USE_INTERNAL
|
||
|
+ errno = 0;
|
||
|
secs = /*bb_*/strtod(time_str, NULL);
|
||
|
- if (!secs)
|
||
|
+ if (errno)
|
||
|
#else
|
||
|
if (sscanf(time_str, "%lf", &secs) != 1)
|
||
|
#endif
|