
sutter at informatik
Jul 25, 2008, 7:37 AM
Post #2 of 3
(154 views)
Permalink
|
Hi, On Thu, Jul 24, 2008 at 03:06:37PM +0200, Phil Sutter wrote: > The problem here is the callback function only receives the first line > of data (996 Bytes). Though when I talk assuan directly to the server > (i.e. executing it and typing the commands manually) I get four lines of > data (prefixed with "D") and then a final "OK". Ok, forget it. I already knew that the callback functions have to return zero to indicate everything is fine. Though having a statement like this: | return (write(fd, buf, len) == len); is a very bad idea. Sorry for the traffic these mails generated. ;) Greetings, Phil
|