summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/log.c b/src/log.c
index 524c2f3..0d097bb 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,12 +1,12 @@
-/*
+x/*
* gstdvbbackend
*
* gstdvbbackend is a small programm which captures a given set of dvb
* channels from one dvb device and provides the streams via minimal http.
*
*
- * Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
- *
+ * Copyright (C) 2011-2016 Christian Pointner <equinox@spreadspace.org>
+ *
* This file is part of gstdvbbackend.
*
* gstdvbbackend is free software: you can redistribute it and/or modify
@@ -77,7 +77,7 @@ int log_targets_target_exists(log_targets_t* targets, log_target_type_t type)
if(tmp->type_ == type)
return 1;
tmp = tmp->next_;
- }
+ }
return 0;
}
@@ -140,7 +140,7 @@ int log_targets_add(log_targets_t* targets, const char* conf)
log_target_t* tmp = targets->first_;
while(tmp->next_)
tmp = tmp->next_;
-
+
tmp->next_ = new_target;
}
return 0;
@@ -248,7 +248,7 @@ void log_print_hex_dump(log_prio_t prio, const uint8_t* buf, uint32_t len)
if(offset < 0)
return;
uint8_t* ptr = &msg[offset];
-
+
for(i=0; i < len; i++) {
if(((i+1)*3) >= (MSG_LENGTH_MAX - offset))
break;