equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
167 *comma_pos = '\0'; |
167 *comma_pos = '\0'; |
168 } |
168 } |
169 |
169 |
170 char* equals_pos = strchr(pos, '='); |
170 char* equals_pos = strchr(pos, '='); |
171 if (equals_pos == NULL) { |
171 if (equals_pos == NULL) { |
|
172 errstream->print_cr("Invalid option '%s' for log file output.", pos); |
172 success = false; |
173 success = false; |
173 break; |
174 break; |
174 } |
175 } |
175 char* key = pos; |
176 char* key = pos; |
176 char* value_str = equals_pos + 1; |
177 char* value_str = equals_pos + 1; |