Skip to content

Commit

Permalink
Remove debug statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Apr 17, 2019
1 parent f42a72b commit 9372f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/send_publish.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ int send__publish(struct mosquitto *mosq, uint16_t mid, const char *topic, uint3
}
}
#endif
log__printf(NULL, MOSQ_LOG_DEBUG, "%d Sending PUBLISH to %s (d%d, q%d, r%d, m%d, '%s', ... (%ld bytes))", mosq->msgs_out.inflight_quota, mosq->id, dup, qos, retain, mid, topic, (long)payloadlen);
log__printf(NULL, MOSQ_LOG_DEBUG, "Sending PUBLISH to %s (d%d, q%d, r%d, m%d, '%s', ... (%ld bytes))", mosq->id, dup, qos, retain, mid, topic, (long)payloadlen);
G_PUB_BYTES_SENT_INC(payloadlen);
#else
log__printf(mosq, MOSQ_LOG_DEBUG, "%d Client %s sending PUBLISH (d%d, q%d, r%d, m%d, '%s', ... (%ld bytes))", mosq->msgs_out.inflight_quota, mosq->id, dup, qos, retain, mid, topic, (long)payloadlen);
log__printf(mosq, MOSQ_LOG_DEBUG, "Client %s sending PUBLISH (d%d, q%d, r%d, m%d, '%s', ... (%ld bytes))", mosq->id, dup, qos, retain, mid, topic, (long)payloadlen);
#endif

return send__real_publish(mosq, mid, topic, payloadlen, payload, qos, retain, dup, cmsg_props, store_props, expiry_interval);
Expand Down

0 comments on commit 9372f42

Please sign in to comment.