From c307e7c9ee89e4ac17cc2bb2aa1e245d766cbc5e Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Mon, 3 Apr 2017 11:46:29 -0500 Subject: Add timeout, actully invalidate session in weather_info_abort --- libmateweather/weather.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmateweather/weather.h') diff --git a/libmateweather/weather.h b/libmateweather/weather.h index d30b39f..35ba169 100644 --- a/libmateweather/weather.h +++ b/libmateweather/weather.h @@ -24,6 +24,7 @@ #error "libmateweather should only be used if you understand that it's subject to change, and is not supported as a fixed API/ABI or as part of the platform" #endif +#define MATEWEATHER_DEFAULT_TIMEOUT (30) #include -- cgit v1.2.1