Ich denke das liegt an folgender Codezeile:
Code: Alles auswählen
bouquetManager->addBouquet(msgRenameBouquet.name);
Code: Alles auswählen
case CZapitClient::CMD_BQ_RENAME_BOUQUET:
{
CZapitClient::commandRenameBouquet msgRenameBouquet;
read(connfd, &msgRenameBouquet, sizeof(msgRenameBouquet));
bouquetManager->addBouquet(msgRenameBouquet.name);
bouquetManager->Bouquets[msgRenameBouquet.bouquet - 1]->Name = msgRenameBouquet.name;
break;
}