diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-04-29 13:07:10 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-04-29 13:07:10 +0300 |
| commit | 722ea4f66b06a6788f4b6f77ddf8a6b3de965b60 (patch) | |
| tree | 040d384f4dbedc5575926fa75aaebe6200cefffe | |
| parent | 408e61f8f8e4bd0fd52085125da26bb5c425260e (diff) | |
Teams: fix for occasional crash
| -rw-r--r-- | protocols/Teams/src/teams_trouter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Teams/src/teams_trouter.cpp b/protocols/Teams/src/teams_trouter.cpp index 7b8c93aaec..c1ac70ea9d 100644 --- a/protocols/Teams/src/teams_trouter.cpp +++ b/protocols/Teams/src/teams_trouter.cpp @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. void CTeamsProto::OnTrouterSession(MHttpResponse *response, AsyncHttpRequest *pRequest) { - if (response->resultCode != 200) { + if (!response || response->resultCode != 200) { LoginError(); return; } |
