瀏覽代碼

Fixing magic constant

Source commit: 09c9965c521a3b9d9e0bac47b48af61581340e2e
Martin Prikryl 9 年之前
父節點
當前提交
74fad1fb95
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/filezilla/AsyncProxySocketLayer.cpp

+ 1 - 1
source/filezilla/AsyncProxySocketLayer.cpp

@@ -173,7 +173,7 @@ void CAsyncProxySocketLayer::OnReceive(int nErrorCode)
         ClearBuffer();
       }
     }
-    else if (m_nProxyOpID==2)
+    else if (m_nProxyOpID==PROXYOP_LISTEN)
     {
       if (!m_pRecvBuffer)
         m_pRecvBuffer=new char[8];