From a67caf17307bf58cea2d1fc584815399ad94954c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 13 Dec 2010 17:34:20 +0000 Subject: [PATCH] BUGFIX: Fix some 'File Not found' warning in the Web UI --- Changelog | 1 + src/webui/httpconnection.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index 1316f0f59..a0e7e644b 100644 --- a/Changelog +++ b/Changelog @@ -4,6 +4,7 @@ - BUGFIX: Fix alignment issues in program preferences - BUGFIX: Make sure we don't move completed torrent to the temp directory for checking (closes #602938) + - BUGFIX: Fix some 'File Not found' warning in the Web UI * Sun Dec 5 2010 - Christophe Dumez - v2.5.1 - BUGFIX: Fix possible crash when right-clicking on a torrent diff --git a/src/webui/httpconnection.cpp b/src/webui/httpconnection.cpp index c89652901..96356e513 100644 --- a/src/webui/httpconnection.cpp +++ b/src/webui/httpconnection.cpp @@ -217,9 +217,11 @@ void HttpConnection::respond() { } else { if(list[1] == "preferences") { respondPreferencesJson(); + return; } else { if(list[1] == "transferInfo") { respondGlobalTransferInfoJson(); + return; } } }