1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

Build fix in smapi.cc

This commit is contained in:
Pavel Labath 2010-09-13 11:49:44 +02:00
parent bad23c7b77
commit 22de36271d

View File

@ -69,7 +69,7 @@ static char *smapi_read_str(const char *path)
perror("fscanf()");
fclose(fp);
}
return strndup(str, text_buffer_size);
return strndup(str, text_buffer_size.get(*state));
}
static char *smapi_get_str(const char *fname)