client: use a_str()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-23 17:49:15 +02:00
parent 14f4e02e66
commit 9ad5f651fe
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ client_loadprops(client_t * c, screen_t *screen)
&prop))
return false;
if (strlen(prop) != tags->len + 2) {
if(a_strlen(prop) != tags->len + 2)
{
/* ignore property if the tag count isn't matching */
p_delete(&prop);
return false;