diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-20 06:00:51 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-20 06:00:51 +0000 |
commit | f49002f4f645a3830346fc6d790ec32a2d43a4c2 (patch) | |
tree | 59eafe1456b306b1a32759a27249f24c4ad2222a /bin/rcp/extern.h | |
parent | 218c435dac739fd53484058fe0fa5b9f2f40dd89 (diff) | |
download | FreeBSD-src-f49002f4f645a3830346fc6d790ec32a2d43a4c2.zip FreeBSD-src-f49002f4f645a3830346fc6d790ec32a2d43a4c2.tar.gz |
Use size_t consistently and complete some uncompleted code resulting in a
memory leak by assigning and freeing a variable appropriately as well as
keeping track of the amount of allocated ram properly.
MFC after: 1 month
Diffstat (limited to 'bin/rcp/extern.h')
-rw-r--r-- | bin/rcp/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rcp/extern.h b/bin/rcp/extern.h index a07c3a6..ebd2beb 100644 --- a/bin/rcp/extern.h +++ b/bin/rcp/extern.h @@ -35,7 +35,7 @@ */ typedef struct { - int cnt; + size_t cnt; char *buf; } BUF; |