author | Michael Krelin <hacker@klever.net> | 2004-09-12 11:46:21 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-09-12 11:46:21 (UTC) |
commit | 4435ed85c3acb4df42135e009b133fb8e9d2f09c (patch) (unidiff) | |
tree | c1f4b4da029153459465d3679acdf48c594943ae /PumpKINDlg.cpp | |
parent | 9bd9ea789778ff25ba61a22bca0eacc14ae47cb7 (diff) | |
download | pumpkin-4435ed85c3acb4df42135e009b133fb8e9d2f09c.zip pumpkin-4435ed85c3acb4df42135e009b133fb8e9d2f09c.tar.gz pumpkin-4435ed85c3acb4df42135e009b133fb8e9d2f09c.tar.bz2 |
quick fix to the backslash conversion problem.
git-svn-id: http://svn.klever.net/kin/pumpkin/trunk@46 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | PumpKINDlg.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/PumpKINDlg.cpp b/PumpKINDlg.cpp index 1e6d03f..0b3bf41 100644 --- a/PumpKINDlg.cpp +++ b/PumpKINDlg.cpp | |||
@@ -1219,7 +1219,11 @@ BOOL CWRQSocket::Create(LPCTSTR localFile,LPCTSTR hostName) | |||
1219 | ASSERT(m_Peer.sin_addr.s_addr!=INADDR_NONE || hostName); | 1219 | ASSERT(m_Peer.sin_addr.s_addr!=INADDR_NONE || hostName); |
1220 | m_Daddy->m_Xfers[m_hSocket]=this; | 1220 | m_Daddy->m_Xfers[m_hSocket]=this; |
1221 | TurnSlashes(m_FileName,TRUE); | ||
1222 | UpdateList(); | 1221 | UpdateList(); |
1223 | CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(m_FileName); | 1222 | CString lf; |
1223 | if(!localFile) { | ||
1224 | lf = m_FileName; | ||
1225 | TurnSlashes(lf,TRUE); | ||
1226 | } | ||
1227 | CString fn = localFile?ApplyRootGently(localFile):ApplyRoot(lf); | ||
1224 | if(!localFile){// This is an incoming request.. | 1228 | if(!localFile){// This is an incoming request.. |
1225 | if(CheckBadRelativeness(m_FileName)){ | 1229 | if(CheckBadRelativeness(m_FileName)){ |