changed all calls to assert() to uhub_assert()

This commit is contained in:
Tilka
2012-05-02 21:06:46 +02:00
parent ccded3f642
commit d49127b507
11 changed files with 13 additions and 13 deletions

View File

@@ -127,7 +127,7 @@ static int adc_msg_cache_append(struct adc_message* msg, const char* string, siz
memcpy(&msg->cache[msg->length], string, len);
adc_msg_set_length(msg, msg->length + len);
assert(msg->capacity > msg->length);
uhub_assert(msg->capacity > msg->length);
msg->cache[msg->length] = 0;
return 1;
}