repo.or.cz
/
dftpd.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PASV reply for Firefox.
[dftpd.git]
/
AuthNone.cpp
blob
e8b98b520b71b5a941e81f8ce252854fbf450424
1
#include
"AuthNone.hpp"
2
3
bool
AuthNone
::
Login
(
const
std
::
string
&
login
)
4
{
5
return true
;
6
}
7
8
bool
AuthNone
::
Password
(
const
std
::
string
&
login
,
const
std
::
string
&
password
)
9
{
10
return true
;
11
}
12
13
std
::
string
AuthNone
::
GetRoot
(
const
std
::
string
&
login
)
14
{
15
#ifdef SYMBIAN
16
return
"E:"
;
17
#elif defined _WIN32
18
return
"C:"
;
19
#else
20
return
"/"
;
21
#endif
22
}