Paul,

in owserver : DirallHandler

 if ( cm->ret ) {
        cm->size = cm->payload = 0 ;
    } else {
        cm->size = cm->payload = cb.used;
    }

I have a cb.blob ending with two NULL chars , and a cb.used including both them

Shouldn't we return a cm->size = cm->payload = cb.used - 1
or check where the additional \0 is entered ?



Paul Alfille wrote on 11/1/2007 08:22:
I've just committed to the CVS an enhancement to the owserver protocol: msg_dirall.

The old method, msg_dir, sent a tcp packet for each directory element. msg_dirall sends the whole directory, comma separated.

Two of the clients, owdir and OWNet.pm (perl) have been modified to use the new method (and fall back to the old way if there is an error -- presumabl because the owserver doesn't support msg_dirall).

python, php and VB will need updates as well.

Paul Alfille


------------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


------------------------------------------------------------------------

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

begin:vcard
fn:George M. Zouganelis
n:Zouganelis;George
org:Athens University of Economics and Business;Department of Management Science & Technology
adr:;;76, Patission Ave.;Athens;Attica;;Greece
email;internet:gzoug(at)aueb(dot) gr
title:Technical Administrator
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to