On 2010-10-02 09:11 PDT, passfree wrote:

> The problem is within the write method of the component which fails
> for some unknown reasons. Here is the code I am using for testing:
> 
>               char b[] = { "12345" };
>               int result = PR_Write(sfd, &b, 5);
> 
>               if (result <= 0) {
>                       printf("%d\n", PR_GetError());
>                       return NS_ERROR_FAILURE;
>               }
> 

You say "unknown reasons", yet your code sample appears to print out
the error code.  What error code does it print out?
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to