From 6e32c64b809e5fe6b68e78814654753bd4e675a8 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sat, 8 Nov 2014 22:31:01 +0100 Subject: [PATCH] Little code style changes. --- src/arh.c | 7 +++---- src/arh.h | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/arh.c b/src/arh.c index abc4aa0..73d9764 100644 --- a/src/arh.c +++ b/src/arh.c @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses/. */ + #include "config.h" #ifdef FEATURE_ARH #include "ascii.h" @@ -31,6 +32,7 @@ typedef struct { static void marh_free(MatchARH *); static char *read_pattern(char **); + /** * parse the data string to a list of MatchARH * @@ -89,7 +91,7 @@ GSList *arh_parse(const char *data, const char **error) arh_free(parsed); /* set error if asked */ - if ( error != NULL ) { + if (error != NULL) { *error = "syntax error"; } @@ -102,7 +104,6 @@ GSList *arh_parse(const char *data, const char **error) return parsed; } - /** * free the list of MatchARH */ @@ -111,7 +112,6 @@ void arh_free(GSList *list) g_slist_free_full(list, (GDestroyNotify)marh_free); } - /** * append to reponse-header of SoupMessage, * the header that match the specified uri @@ -148,7 +148,6 @@ void arh_run(GSList *list, const char *uri, SoupMessage *msg) } } - /** * free a MatchARH */ diff --git a/src/arh.h b/src/arh.h index 141b3d2..0e18f38 100644 --- a/src/arh.h +++ b/src/arh.h @@ -17,6 +17,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses/. */ + #include "config.h" #ifdef FEATURE_ARH -- 2.20.1