summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
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_) {