|
@@ -69,6 +69,7 @@ completed_cb (void *cls,
|
|
|
enum MHD_RequestTerminationCode toe)
|
|
enum MHD_RequestTerminationCode toe)
|
|
|
{
|
|
{
|
|
|
struct MHD_PostProcessor *pp = *con_cls;
|
|
struct MHD_PostProcessor *pp = *con_cls;
|
|
|
|
|
+ (void)cls;(void)connection;(void)toe; /* Unused. Silent compiler warning. */
|
|
|
|
|
|
|
|
if (NULL != pp)
|
|
if (NULL != pp)
|
|
|
MHD_destroy_post_processor (pp);
|
|
MHD_destroy_post_processor (pp);
|
|
@@ -104,6 +105,8 @@ post_iterator (void *cls,
|
|
|
const char *value, uint64_t off, size_t size)
|
|
const char *value, uint64_t off, size_t size)
|
|
|
{
|
|
{
|
|
|
int *eok = cls;
|
|
int *eok = cls;
|
|
|
|
|
+ (void)kind;(void)filename;(void)content_type; /* Unused. Silent compiler warning. */
|
|
|
|
|
+ (void)transfer_encoding;(void)off; /* Unused. Silent compiler warning. */
|
|
|
|
|
|
|
|
if ((0 == strcasecmp (key, "name")) &&
|
|
if ((0 == strcasecmp (key, "name")) &&
|
|
|
(size == strlen ("daniel")) && (0 == strncmp (value, "daniel", size)))
|
|
(size == strlen ("daniel")) && (0 == strncmp (value, "daniel", size)))
|
|
@@ -128,6 +131,7 @@ ahc_echo (void *cls,
|
|
|
struct MHD_Response *response;
|
|
struct MHD_Response *response;
|
|
|
struct MHD_PostProcessor *pp;
|
|
struct MHD_PostProcessor *pp;
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
+ (void)cls;(void)version; /* Unused. Silent compiler warning. */
|
|
|
|
|
|
|
|
if (0 != strcasecmp ("POST", method))
|
|
if (0 != strcasecmp ("POST", method))
|
|
|
{
|
|
{
|
|
@@ -551,6 +555,8 @@ ahc_cancel (void *cls,
|
|
|
{
|
|
{
|
|
|
struct MHD_Response *response;
|
|
struct MHD_Response *response;
|
|
|
int ret;
|
|
int ret;
|
|
|
|
|
+ (void)cls;(void)url;(void)version; /* Unused. Silent compiler warning. */
|
|
|
|
|
+ (void)upload_data;(void)upload_data_size; /* Unused. Silent compiler warning. */
|
|
|
|
|
|
|
|
if (0 != strcasecmp ("POST", method))
|
|
if (0 != strcasecmp ("POST", method))
|
|
|
{
|
|
{
|
|
@@ -762,6 +768,7 @@ int
|
|
|
main (int argc, char *const *argv)
|
|
main (int argc, char *const *argv)
|
|
|
{
|
|
{
|
|
|
unsigned int errorCount = 0;
|
|
unsigned int errorCount = 0;
|
|
|
|
|
+ (void)argc; /* Unused. Silent compiler warning. */
|
|
|
|
|
|
|
|
oneone = (NULL != strrchr (argv[0], (int) '/')) ?
|
|
oneone = (NULL != strrchr (argv[0], (int) '/')) ?
|
|
|
(NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
|
|
(NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
|