diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-15 14:04:06 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-02-15 14:04:06 +0100 |
commit | 38f297033faa099a0705c8f66964d8c5d7927c8d (patch) | |
tree | 1dcd1ccd3f3f2ca234c8acba777dee3a23a90995 /apt-pkg/contrib/error.h | |
parent | 1dfaf0bf650a78ddaf991bf3ad597fa4d101041f (diff) |
* apt-pkg/contrib/error.cc:
- ensure that va_list is not invalid in second try
Diffstat (limited to 'apt-pkg/contrib/error.h')
-rw-r--r-- | apt-pkg/contrib/error.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/contrib/error.h b/apt-pkg/contrib/error.h index ae756dbc4..21c51c1be 100644 --- a/apt-pkg/contrib/error.h +++ b/apt-pkg/contrib/error.h @@ -307,9 +307,10 @@ private: /*{{{*/ std::list<MsgStack> Stacks; bool InsertErrno(MsgType type, const char* Function, - const char* Description, va_list &args); + const char* Description, va_list &args, + int const errsv, size_t &msgSize); bool Insert(MsgType type, const char* Description, - va_list &args); + va_list &args, size_t &msgSize); /*}}}*/ }; /*}}}*/ |