소스 검색

- 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;
 }