diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-08 00:01:44 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-06-08 00:01:44 (GMT) |
| commit | d1bd90e4c969ed69121c4e217d49ba896a54e8a5 (patch) | |
| tree | f2c59bfdda868ea1fe2c6eea03c8bd759cd1a611 /src | |
| parent | ca4400a7ad2b729ef776d32fbcd5ddd3e3c15c3c (diff) | |
| download | powder-d1bd90e4c969ed69121c4e217d49ba896a54e8a5.zip powder-d1bd90e4c969ed69121c4e217d49ba896a54e8a5.tar.gz | |
Fix session check on startup - Session check was looking at the response code from the version check, should the session check request complete before the version check, the response code would not be valid and the response would be discarded.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1154,7 +1154,7 @@ int main(int argc, char *argv[]) { char saveURIOpenString[512]; check_data = http_async_req_stop(http_session_check, &http_s_ret, NULL); - if (http_ret==200 && check_data) + if (http_s_ret==200 && check_data) { if (!strncmp(check_data, "EXPIRED", 7)) { |
