diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-20T21·11+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-20T21·11+0000 |
commit | 7984cfc7c18c85c5db42c5c7d57927b12c846ce0 (patch) | |
tree | a728a7500892e4de089c090538cb8fd34e4a1ffa /src/archive.hh | |
parent | 667a6afb9dabcb3e5c851b910705b7eb1c87c9b6 (diff) |
* Argh, another short-write problem. Added wrappers around
read()/write() to fix this once and for all.
Diffstat (limited to 'src/archive.hh')
-rw-r--r-- | src/archive.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive.hh b/src/archive.hh index 7d9b1e2b5676..e6006e454942 100644 --- a/src/archive.hh +++ b/src/archive.hh @@ -54,7 +54,7 @@ struct RestoreSource pointed to by data. It should block if that much data is not yet available, or throw an error if it is not going to be available. */ - virtual void operator () (const unsigned char * data, unsigned int len) = 0; + virtual void operator () (unsigned char * data, unsigned int len) = 0; }; void restorePath(const string & path, RestoreSource & source); |