Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
flow-tools
> flow-tools-0.68.ftio.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File flow-tools-0.68.ftio.patch of Package flow-tools
--- ./lib/ftio.c Thu May 19 10:15:21 2005 +++ ./lib/ftio.c Thu May 19 10:18:44 2005 @@ -2267,7 +2267,7 @@ break; nleft -= nread; - (char*)ptr += nread; + ptr = (void*)( ((char*)ptr) + nread); } return (nbytes - nleft); } /* readn */ @@ -2292,7 +2292,7 @@ return(nwritten); /* error */ nleft -= nwritten; - (char*)ptr += nwritten; + ptr = (void*)( ((char*)ptr) + nwritten); } return(nbytes - nleft); } /* writen */