Correct code styling

This commit is contained in:
Ilja Kartašov 2019-06-24 07:42:25 +02:00
parent cbdf7b2523
commit c9c9bbbff6
2 changed files with 6 additions and 7 deletions

View File

@ -13,6 +13,7 @@
* @see https://lowenware.com/ * @see https://lowenware.com/
*/ */
#include <stdlib.h>
#include "context.h" #include "context.h"

View File

@ -23,11 +23,10 @@
#include "feedback.h" #include "feedback.h"
struct context struct context {
{
struct ax_context root; struct ax_context root;
struct ax_query qs; struct ax_query qs;
struct ax_mail mail; struct ax_mail mail;
char *email; char *email;
char *msg; char *msg;
}; };
@ -53,9 +52,8 @@ context_free(Context ctx)
static int static int
on_input_var( const char *key, uint32_t k_len, on_input_var(const char *key, uint32_t k_len, const char *val, uint32_t v_len,
const char *val, uint32_t v_len, void *p_ctx )
void *p_ctx )
{ {
Context ctx = (Context) p_ctx; Context ctx = (Context) p_ctx;
AxFeedback mod = (AxFeedback)((AxContext)ctx)->mod; AxFeedback mod = (AxFeedback)((AxContext)ctx)->mod;