Index: utils/ofhttp/OFHTTP.m ================================================================== --- utils/ofhttp/OFHTTP.m +++ utils/ofhttp/OFHTTP.m @@ -458,23 +458,23 @@ optionsParser = [OFOptionsParser parserWithOptions: options]; while ((option = [optionsParser nextOption]) != '\0') { switch (option) { case 'b': - self.body = optionsParser.argument; + [self setBody: optionsParser.argument]; break; case 'h': help(of_stdout, true, 0); break; case 'H': [self addHeader: optionsParser.argument]; break; case 'm': - self.method = optionsParser.argument; + [self setMethod: optionsParser.argument]; break; case 'P': - self.proxy = optionsParser.argument; + [self setProxy: optionsParser.argument]; break; case ':': if (optionsParser.lastLongOption != nil) [of_stderr writeLine: OF_LOCALIZED(@"long_argument_missing", @@ -760,11 +760,11 @@ _received += length; [_output writeBuffer: buffer length: length]; - _progressBar.received = _received; + [_progressBar setReceived: _received]; if (response.atEndOfStream) { [_progressBar stop]; [_progressBar draw]; [_progressBar release]; @@ -938,11 +938,11 @@ if (!_quiet) { _progressBar = [[ProgressBar alloc] initWithLength: _length resumedFrom: _resumedFrom]; - _progressBar.received = _received; + [_progressBar setReceived: _received]; [_progressBar draw]; } [_currentFileName release]; _currentFileName = nil;