Explorar o código

- killed the str2s debug error message

Andrei Pelinescu-Onciul %!s(int64=19) %!d(string=hai) anos
pai
achega
545c0c82b9
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  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;
 }