Skip to content

Commit c6e6b40

Browse files
Merge pull request #55 from bonitoo-io/fix/SecureWriteCrash#54
fix: Correct pointer type for UserAgent string (#54)
2 parents a6f26d3 + ebfc8f0 commit c6e6b40

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog
2-
2+
## Version 3.1.x
3+
- [FIX] SecureWrite crash (#54)
4+
35
## Version 3.1.2 (2020-04-18)
46
- [FIX] Compilation error on fields order (#43)
57
- [FIX] Invalid precision constant for microseconds (#49)

src/InfluxDbClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ bool InfluxDBClient::init() {
227227
}
228228
_httpClient.setReuse(false);
229229

230-
_httpClient.setUserAgent(UserAgent);
230+
_httpClient.setUserAgent(FPSTR(UserAgent));
231231
return true;
232232
}
233233

0 commit comments

Comments
 (0)