|
@@ -67,7 +67,7 @@ Answer* PostRequest::execute() const
|
|
Text* len = answer.getTeilText(p);
|
|
Text* len = answer.getTeilText(p);
|
|
len->remove(len->positionVon("\n"), len->getLength());
|
|
len->remove(len->positionVon("\n"), len->getLength());
|
|
len->remove("\r");
|
|
len->remove("\r");
|
|
- length = *len;
|
|
|
|
|
|
+ length = (int)*len;
|
|
len->release();
|
|
len->release();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -118,7 +118,7 @@ Answer::Answer(const char* answer)
|
|
line->remove(0, trenn + 1);
|
|
line->remove(0, trenn + 1);
|
|
trenn = line->positionVon(" ");
|
|
trenn = line->positionVon(" ");
|
|
tmp = line->getTeilText(0, trenn);
|
|
tmp = line->getTeilText(0, trenn);
|
|
- this->statusNumber = *tmp;
|
|
|
|
|
|
+ this->statusNumber = (int)*tmp;
|
|
tmp->release();
|
|
tmp->release();
|
|
line->remove(0, trenn + 1);
|
|
line->remove(0, trenn + 1);
|
|
this->statusText = *line;
|
|
this->statusText = *line;
|