mirror of
https://github.com/curl/curl.git
synced 2026-07-31 04:28:04 +03:00
all: remove FIXME and TODO comments
We can always improve. These comments tend to linger and go misleading or plain wrong over time. Closes #16283
This commit is contained in:
parent
f1d1c98b7f
commit
94c596bbc5
23 changed files with 51 additions and 71 deletions
|
|
@ -33,9 +33,6 @@
|
|||
* Read commands from FILE (set with --config). The commands control how to
|
||||
* act and is reset to defaults each client TCP connect.
|
||||
*
|
||||
* Config file keywords:
|
||||
*
|
||||
* TODO
|
||||
*/
|
||||
|
||||
/* based on sockfilt.c */
|
||||
|
|
@ -418,7 +415,7 @@ static int publish(FILE *dump,
|
|||
if(!packet)
|
||||
return 1;
|
||||
|
||||
packet[0] = MQTT_MSG_PUBLISH; /* TODO: set QoS? */
|
||||
packet[0] = MQTT_MSG_PUBLISH;
|
||||
memcpy(&packet[1], rembuffer, encodedlen);
|
||||
|
||||
(void)packetid;
|
||||
|
|
@ -684,10 +681,9 @@ static curl_socket_t mqttit(curl_socket_t fd)
|
|||
|
||||
topiclen = (size_t)(buffer[1 + bytes] << 8) | buffer[2 + bytes];
|
||||
logmsg("Got %zu bytes topic", topiclen);
|
||||
/* TODO: verify topiclen */
|
||||
|
||||
#ifdef QOS
|
||||
/* TODO: handle packetid if there is one. Send puback if QoS > 0 */
|
||||
/* Handle packetid if there is one. Send puback if QoS > 0 */
|
||||
puback(dump, fd, 0);
|
||||
#endif
|
||||
/* expect a disconnect here */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue