diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-09-02 11:40:42 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-09-02 11:44:44 +0200 |
commit | 4124250f8a69249f79bcf3e86000445908995db1 (patch) | |
tree | 68827ab239edc01f8b494398f61af04797107661 /bin/ptxdist | |
parent | 174bf0cf7caeb0bc9a6903378127aa876dacc6a9 (diff) | |
download | ptxdist-4124250f8a69249f79bcf3e86000445908995db1.tar.gz ptxdist-4124250f8a69249f79bcf3e86000445908995db1.tar.xz |
ptxd_make_get_http: fix error handling when creating temp files
The local variable must be declared first. Otherwise the error code for
mktemp is lost.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'bin/ptxdist')
0 files changed, 0 insertions, 0 deletions