mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 08:40:19 +00:00
debug.cpp: fixed error in debug_file_dump
Not critical at all - the comma-separated option could not have been used so far (it was intended to separate modules, but this funcion is used in only one so far).
This commit is contained in:
@@ -308,8 +308,7 @@ void debug_file_dump(const char *key, void (*serialize)(const void *data, FILE *
|
||||
}
|
||||
|
||||
// check if key is contained
|
||||
string not_first = ",";
|
||||
not_first + key;
|
||||
string not_first = string(",") + key;
|
||||
int skip_n = 0;
|
||||
if (strstr(dump_file_val, key) == dump_file_val) {
|
||||
const char *val = dump_file_val + strlen(key);
|
||||
|
||||
Reference in New Issue
Block a user