diff options
author | Fritz Elfert <felfert@to.com> | 2001-02-02 04:49:20 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-02-02 04:49:20 +0000 |
commit | 9fac7af37460c6a73a7debac1ba82b094a8f066c (patch) | |
tree | c6ef3e0ebd088c62348f140289f82482d82db1cf /plpnfsd | |
parent | 4da48658c8f1dfbf5960bb1768dc6d154c528734 (diff) | |
download | plptools-9fac7af37460c6a73a7debac1ba82b094a8f066c.tar.gz plptools-9fac7af37460c6a73a7debac1ba82b094a8f066c.tar.bz2 plptools-9fac7af37460c6a73a7debac1ba82b094a8f066c.zip |
Replaced lot of ugly char * by string.
Fixed bug in plpftp's filename-completion, which was introduced
yesterday.
Added a class PlpUID for dealing with application-UIDs
Added UID->mimetype mapping in kioslave.
Diffstat (limited to 'plpnfsd')
-rw-r--r-- | plpnfsd/main.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plpnfsd/main.cc b/plpnfsd/main.cc index 96c2be4..d1e0337 100644 --- a/plpnfsd/main.cc +++ b/plpnfsd/main.cc @@ -393,12 +393,14 @@ long rfsv_setattr(const char *name, long sattr, long dattr) { long rfsv_getattr(const char *name, long *attr, long *size, long *time) { long res; - PsiTime pt; + PlpDirent e; if (!a) return -1; - res = a->fgeteattr(name, *attr, *size, pt); - *time = pt.getTime(); + res = a->fgeteattr(name, e); + *attr = e.getAttr(); + *size = e.getSize(); + *time = e.getPsiTime().getTime(); return res; } |