diff --git a/src/oidc-agent.c b/src/oidc-agent.c index be779f38..6d4a6ff7 100644 --- a/src/oidc-agent.c +++ b/src/oidc-agent.c @@ -356,10 +356,10 @@ int main(int argc, char** argv) { char* q = ipc_read(*(con->msgsock)); if(NULL!=q) { struct key_value pairs[4]; - pairs[0].key = "request"; - pairs[1].key = "provider"; - pairs[2].key = "min_valid_period"; - pairs[3].key = "config"; + pairs[0].key = "request"; pairs[0].value = NULL; + pairs[1].key = "provider"; pairs[1].value = NULL; + pairs[2].key = "min_valid_period"; pairs[2].value = NULL; + pairs[3].key = "config"; pairs[3].value = NULL; if(getJSONValues(q, pairs, sizeof(pairs)/sizeof(*pairs))<0) { ipc_write(*(con->msgsock), "Bad request: %s", oidc_perror()); } else { diff --git a/src/version.h b/src/version.h index a206fdb3..52991d19 100644 --- a/src/version.h +++ b/src/version.h @@ -1,7 +1,7 @@ #ifndef OIDC_VERSION_H #define OIDC_VERSION_H -#define VERSION "1.0.3" +#define VERSION "1.0.4" #define BUG_ADDRESS "" #define AGENT_VERSION "oidc-agent " VERSION #define GEN_VERSION "oidc-gen " VERSION