[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: chunked_example.c: c
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: chunked_example.c: cosmetics |
Date: |
Thu, 27 Jul 2017 11:23:21 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 783c7bd4 chunked_example.c: cosmetics
783c7bd4 is described below
commit 783c7bd4ed840e64cfdc30c926212d405f6d6b41
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Jul 27 12:21:52 2017 +0300
chunked_example.c: cosmetics
---
src/examples/chunked_example.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/examples/chunked_example.c b/src/examples/chunked_example.c
index d8c2b7a7..96ae148a 100644
--- a/src/examples/chunked_example.c
+++ b/src/examples/chunked_example.c
@@ -26,7 +26,7 @@
#include "platform.h"
#include <microhttpd.h>
-struct responseContentCallbackParam
+struct ResponseContentCallbackParam
{
const char *response_data;
size_t response_size;
@@ -39,8 +39,8 @@ callback (void *cls,
size_t buf_size)
{
size_t size_to_copy;
- struct responseContentCallbackParam * const param =
- (struct responseContentCallbackParam *)cls;
+ struct ResponseContentCallbackParam * const param =
+ (struct ResponseContentCallbackParam *)cls;
/* Note: 'pos' will never exceed size of transmitted data. */
/* You can use 'pos == param->response_size' in next check. */
@@ -96,7 +96,7 @@ ahc_echo (void *cls,
const char *upload_data, size_t *upload_data_size, void **ptr)
{
static int aptr;
- struct responseContentCallbackParam * callback_param;
+ struct ResponseContentCallbackParam * callback_param;
struct MHD_Response *response;
int ret;
@@ -109,7 +109,7 @@ ahc_echo (void *cls,
return MHD_YES;
}
- callback_param = malloc (sizeof(struct responseContentCallbackParam));
+ callback_param = malloc (sizeof(struct ResponseContentCallbackParam));
if (NULL == callback_param)
return MHD_NO; /* Not enough memory. */
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: chunked_example.c: cosmetics,
gnunet <=