Commit 22962fc
authored
Improve print parsed (#21790)
* Refactor double formatting in eval-utils.c: replace custom logic with `print_netdata_double` for clarity and maintainability.
* Add null checks for `dst` and `fmt` in `vsnprintfz` to prevent potential issues
* Add null check for `fmt` in `vsnprintfz` and ensure `dst` is properly initialized1 parent 9fbbef5 commit 22962fc
2 files changed
+8
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 96 | + | |
| 97 | + | |
108 | 98 | | |
109 | 99 | | |
110 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
0 commit comments