Munge /r and /n in HTTP_HttpSendRequestA
Rolf Kalbermatter
rolf.kalbermatter at citeng.com
Mon Mar 15 06:04:19 CST 2004
Uwe Bonnes wrote:
>The test for nLen is a good idea. But
>with nLen = strlen(lpwhr->lpszPath); lpwhr->lpszPath[nLen] should give the
>terminating NULL to my understanding...
>
>Or am I off by one?
According to my ANSI C book strlen() returns the number of characters in
a string NOT including the zero termination character. So I think in that
case you would be indeed off by one.
Rolf Kalbermatter
More information about the wine-devel
mailing list