mirror of
https://github.com/Luzifer/mqttcli.git
synced 2024-12-20 18:41:19 +00:00
Fix: Print newline after each CSV line
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
ddf29ffadb
commit
25539c8267
1 changed files with 1 additions and 1 deletions
2
mqtt.go
2
mqtt.go
|
@ -74,7 +74,7 @@ func subscribeCallbackLog(client mqtt.Client, msg mqtt.Message) {
|
|||
}
|
||||
|
||||
func subscribeCallbackCSV(client mqtt.Client, msg mqtt.Message) {
|
||||
fmt.Printf("%s,%d,%v,%q",
|
||||
fmt.Printf("%s,%d,%v,%q\n",
|
||||
msg.Topic(),
|
||||
msg.Qos(),
|
||||
msg.Retained(),
|
||||
|
|
Loading…
Reference in a new issue