This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 05f5f4cb9167032c76da836500225776b972e05f
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Nov 11 14:30:51 2026 +0100

    netutils/thttpd: Fix the nxstyle errors of thttpd_alloc.c.
    
    Add the blank lines after declarations that nxstyle wants, so that a
    later commit can change this file.  No functional change.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 netutils/thttpd/thttpd_alloc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/netutils/thttpd/thttpd_alloc.c b/netutils/thttpd/thttpd_alloc.c
index 6deade0be..b6fc9d7e5 100644
--- a/netutils/thttpd/thttpd_alloc.c
+++ b/netutils/thttpd/thttpd_alloc.c
@@ -80,6 +80,7 @@ void httpd_memstats(void)
 FAR void *httpd_malloc(size_t nbytes)
 {
   void *ptr = malloc(nbytes);
+
   if (!ptr)
     {
       nerr("ERROR: Allocation of %d bytes failed\n", nbytes);
@@ -100,6 +101,7 @@ FAR void *httpd_malloc(size_t nbytes)
 FAR void *httpd_realloc(FAR void *oldptr, size_t oldsize, size_t newsize)
 {
   void *ptr = realloc(oldptr, newsize);
+
   if (!ptr)
     {
       nerr("ERROR: Re-allocation from %d to %d bytes failed\n",
@@ -131,6 +133,7 @@ void httpd_free(FAR void *ptr)
 FAR char *httpd_strdup(const char *str)
 {
   FAR char *newstr = strdup(str);
+
   if (!newstr)
     {
       nerr("ERROR: strdup of %s failed\n", str);
@@ -152,6 +155,7 @@ FAR char *httpd_strdup(const char *str)
 void httpd_realloc_str(char **pstr, size_t *maxsize, size_t size)
 {
   size_t oldsize;
+
   if (*maxsize == 0)
     {
       *maxsize = MAX(CONFIG_THTTPD_MINSTRSIZE,

Reply via email to