From b4f585a43b441c54f795b1f33d0b0a4cac0f75d2 Mon Sep 17 00:00:00 2001 From: Eric Heien Date: Fri, 10 May 2002 04:05:51 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=38 --- api/api.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.C b/api/api.C index 21738eecf8..424641c906 100644 --- a/api/api.C +++ b/api/api.C @@ -51,7 +51,7 @@ size_t MFILE::write(const void *ptr,size_t size,size_t nitems) { buf = (char *)realloc( buf, len+(size*nitems) ); memcpy( buf+len, ptr, size*nitems ); len += size*nitems; - return 0; + return nitems; } int MFILE::_putchar(char c) {