Correct code styling
This commit is contained in:
parent
cbdf7b2523
commit
c9c9bbbff6
|
@ -13,6 +13,7 @@
|
||||||
* @see https://lowenware.com/
|
* @see https://lowenware.com/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include "context.h"
|
#include "context.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue