gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis] branch master updated: uncrustify


From: gnunet
Subject: [taler-anastasis] branch master updated: uncrustify
Date: Thu, 14 Nov 2019 09:26:30 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new bf1e9d7  uncrustify
bf1e9d7 is described below

commit bf1e9d7419709795cc2667543e84ee3988673e35
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Nov 14 09:26:26 2019 +0100

    uncrustify
---
 src/backend/anastasis-httpd          | Bin 99144 -> 6510 bytes
 src/backend/anastasis-httpd_policy.c |  53 ++++++++++++++++++-----------------
 2 files changed, 28 insertions(+), 25 deletions(-)

diff --git a/src/backend/anastasis-httpd b/src/backend/anastasis-httpd
index 1cf460e..c092563 100755
Binary files a/src/backend/anastasis-httpd and b/src/backend/anastasis-httpd 
differ
diff --git a/src/backend/anastasis-httpd_policy.c 
b/src/backend/anastasis-httpd_policy.c
index 8f1a468..aca0070 100644
--- a/src/backend/anastasis-httpd_policy.c
+++ b/src/backend/anastasis-httpd_policy.c
@@ -1,6 +1,6 @@
 /*
   This file is part of TALER
-  Copyright (C) 2014, 2015, 2016 GNUnet e.V.
+  Copyright (C) 2019 GNUnet e.V.
 
   TALER is free software; you can redistribute it and/or modify it under the
   terms of the GNU Affero General Public License as published by the Free 
Software
@@ -36,30 +36,33 @@ ANASTASIS_MHD_handler_policy_GET (struct MHD_Connection 
*connection,
                                   const char *url,
                                   void **con_cls)
 {
-    struct ANASTASIS_AccountPubP accountPubP;
-    //FIXME just for test
-    char spliturl [32];
-    strcpy(spliturl, url);
-    char delimiter[] = "/";
-    char *ptr;
-    int counter = 0;
-    ptr = strtok(spliturl, delimiter);
-    while(ptr != NULL) {
-        if (counter == 1){
-            size_t encsize = sizeof(&ptr);
-            GNUNET_CRYPTO_eddsa_public_key_from_string(ptr,encsize, 
&accountPubP.pub );
-        }
-        ptr = strtok(NULL, delimiter);
-        counter++;
+  struct ANASTASIS_AccountPubP accountPubP;
+  // FIXME just for test
+  char spliturl [32];
+  strcpy (spliturl, url);
+  char delimiter[] = "/";
+  char *ptr;
+  int counter = 0;
+  ptr = strtok (spliturl, delimiter);
+  while (ptr != NULL)
+  {
+    if (counter == 1)
+    {
+      size_t encsize = sizeof(&ptr);
+      GNUNET_CRYPTO_eddsa_public_key_from_string (ptr,encsize,
+                                                  &accountPubP.pub);
     }
-   /* db->get_latest_recovery_document (db->cls,
-                                      &accountPubP,
-                                      &recoverydatasize,
-                                      &res_recovery_data,
-                                      &res_version));
+    ptr = strtok (NULL, delimiter);
+    counter++;
+  }
+  /* db->get_latest_recovery_document (db->cls,
+                                     &accountPubP,
+                                     &recoverydatasize,
+                                     &res_recovery_data,
+                                     &res_version));
 
-    */
-    return GNUNET_OK;
+   */
+  return GNUNET_OK;
 }
 
 /**
@@ -78,5 +81,5 @@ ANASTASIS_MHD_handler_policy_POST (struct MHD_Connection 
*connection,
 {
 
 
-    return GNUNET_OK;
-}
\ No newline at end of file
+  return GNUNET_OK;
+}

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]