comparison src/subtle/subtle.c @ 3285:6eb80e958ce6 tip

Fixed length of compare
author unexist
date Thu, 16 May 2019 14:20:38 +0200
parents 60b19aa1a187
children
comparison
equal deleted inserted replaced
3284:d2a85a993cb8 3285:6eb80e958ce6
2 /** 2 /**
3 * @package subtle 3 * @package subtle
4 * 4 *
5 * @file Main functions 5 * @file Main functions
6 * @copyright (c) 2005-2018 Christoph Kappel <unexist@subforge.org> 6 * @copyright (c) 2005-2018 Christoph Kappel <unexist@subforge.org>
7 * @version $Id: src/subtle/subtle.c,v 3272 1515061301.0-3600 unexist $ 7 * @version $Id: src/subtle/subtle.c,v 3285 1558009238.0-7200 unexist $
8 * 8 *
9 * This program can be distributed under the terms of the GNU GPLv2. 9 * This program can be distributed under the terms of the GNU GPLv2.
10 * See the file COPYING for details. 10 * See the file COPYING for details.
11 **/ 11 **/
12 12
116 level |= SUB_LOG_RUBY; 116 level |= SUB_LOG_RUBY;
117 else if(0 == strncasecmp(tok, "xerror", 6)) 117 else if(0 == strncasecmp(tok, "xerror", 6))
118 level |= SUB_LOG_XERROR; 118 level |= SUB_LOG_XERROR;
119 else if(0 == strncasecmp(tok, "subtle", 6)) 119 else if(0 == strncasecmp(tok, "subtle", 6))
120 level |= SUB_LOG_SUBTLE; 120 level |= SUB_LOG_SUBTLE;
121 else if(0 == strncasecmp(tok, "debug", 4)) 121 else if(0 == strncasecmp(tok, "debug", 5))
122 level |= SUB_LOG_DEBUG; 122 level |= SUB_LOG_DEBUG;
123 123
124 tok = strtok(NULL, ","); 124 tok = strtok(NULL, ",");
125 } 125 }
126 126