Little code style changes.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 8 Nov 2014 21:31:01 +0000 (22:31 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 8 Nov 2014 21:31:01 +0000 (22:31 +0100)
src/arh.c
src/arh.h

index abc4aa0..73d9764 100644 (file)
--- 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
  */
index 141b3d2..0e18f38 100644 (file)
--- 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