Commit dc2788f
committed
hawkbit-client: fix artifact size error check
Actually check if json_get_int() set an error, not if the pointer
exists. Artifacts of size 0 won't happen in the real world, but the
check should be corrected nonetheless.
Signed-off-by: Bastian Krause <bst@pengutronix.de>1 parent 9693c55 commit dc2788f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1256 | 1256 | | |
1257 | 1257 | | |
1258 | 1258 | | |
1259 | | - | |
| 1259 | + | |
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
| |||
0 commit comments