浏览代码

- killed the str2s debug error message

Andrei Pelinescu-Onciul 19 年之前
父节点
当前提交
545c0c82b9
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      ut.h

+ 3 - 2
ut.h

@@ -174,11 +174,12 @@ static inline unsigned short str2s(const char* s, unsigned int len,
 	return ret;
 
 error_digits:
-	DBG("str2s: ERROR: too many letters in [%.*s]\n", (int)len, init);
+	/*DBG("str2s: ERROR: too many letters in [%.*s]\n", (int)len, init); */
 	if (err) *err=1;
 	return 0;
 error_char:
-	DBG("str2s: ERROR: unexpected char %c in %.*s\n", *str, (int)len, init);
+	/*DBG("str2s: ERROR: unexpected char %c in %.*s\n", *str, (int)len, init);
+	 * */
 	if (err) *err=1;
 	return 0;
 }