summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2013-09-16 14:56:54 (GMT)
committerChristian Pointner <equinox@helsinki.at>2013-09-16 14:56:54 (GMT)
commit4dbc730656002f93cbbc0824e4b2d46d1ede6983 (patch)
tree3a21f56519155a35d75d6ff5dbf548a7b4c65cb2 /options.c
parent6aef19e1b31044795ecd2d356315ad5506a292a2 (diff)
licence updates
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/options.c b/options.c
index 9f6f5a1..56e7196 100644
--- a/options.c
+++ b/options.c
@@ -2,7 +2,7 @@
/*
* rhctl
*
- * Copyright (C) 2009 Christian Pointner <equinox@spreadspace.org>
+ * Copyright (C) 2009-2013 Christian Pointner <equinox@helsinki.at>
*
* This file is part of rhctl.
*
@@ -120,9 +120,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_) {
@@ -201,7 +201,7 @@ int options_parse(options_t* opt, int argc, char* argv[])
#ifdef OPT_LUACLIENT
PARSE_STRING_PARAM("-f","--lua-file", opt->lua_file_)
#endif
- else
+ else
return i;
}