summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-12-27 10:44:17 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-12-27 10:44:17 (GMT)
commitb46d601c70c6a2f39ca1cd1de83b0aa561ce5204 (patch)
treea7e9703c0463b1ad7e5837e81fbc0d84dd751395 /src/options.c
parenta505cffcdd9645e1a4c3be302941e8a4a7d16037 (diff)
whitespace cleanups
header update (copyright notice)
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/options.c b/src/options.c
index 00e52bf..f8a42d8 100644
--- a/src/options.c
+++ b/src/options.c
@@ -2,10 +2,10 @@
* rharchive
*
* The Radio Helsinki Archive Daemon
- *
*
- * Copyright (C) 2010-2011 Christian Pointner <equinox@helsinki.at>
- *
+ *
+ * Copyright (C) 2010-2014 Christian Pointner <equinox@helsinki.at>
+ *
* This file is part of rharchive.
*
* rharchive is free software: you can redistribute it and/or modify
@@ -138,9 +138,9 @@ int options_parse_hex_string(const char* hex, buffer_t* buffer)
if(hex_len%2)
return 1;
- if(buffer->buf_)
+ if(buffer->buf_)
free(buffer->buf_);
-
+
buffer->length_ = hex_len/2;
buffer->buf_ = malloc(buffer->length_);
if(!buffer->buf_) {