diff options
author | graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2011-09-11 21:24:24 (EDT) |
---|---|---|
committer | graham.gower@gmail.com <graham.gower@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2011-09-11 21:24:24 (EDT) |
commit | 989997d1488ad22b1aabe0ae34324d56b4f72fc7 (patch) | |
tree | 606b72001a2007f70f6be1e4ba4b213f54227ad0 /libopkg/file_util.h | |
parent | 989e9d3972939e7b8a3b3720d0bcffb1f559b468 (diff) |
Don't use conf->offline_root directly, it might be NULL.
This patch fixes a problem that arises when conf->offline_root is
null. The resulting string was "(null)//etc/opkg/trusted.gpg" when it
should have been "/etc/opkg/trusted.gpg".
From Kyle Manna <kyle.manna@gmail.com>.
git-svn-id: http://opkg.googlecode.com/svn/trunk@626 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/file_util.h')
0 files changed, 0 insertions, 0 deletions