--- parser3/src/include/pa_sapi.h 2015/10/26 01:21:56 1.31 +++ parser3/src/include/pa_sapi.h 2017/02/07 22:00:36 1.33 @@ -1,14 +1,14 @@ /** @file Parser: web server api interface object decl. - Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_SAPI_H #define PA_SAPI_H -#define IDENT_PA_SAPI_H "$Id: pa_sapi.h,v 1.31 2015/10/26 01:21:56 moko Exp $" +#define IDENT_PA_SAPI_H "$Id: pa_sapi.h,v 1.33 2017/02/07 22:00:36 moko Exp $" // includes @@ -49,7 +49,7 @@ struct SAPI { const char* pair; const char* eq_at; public: - Iterator(SAPI_Info& asapi_info) { + Iterator(SAPI_Info& asapi_info) : pair(NULL), eq_at(NULL){ if(pairs=SAPI::Env::get(asapi_info)) next(); }