Skip to content

Commit

Permalink
Build fix in smapi.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
labath committed Sep 13, 2010
1 parent bad23c7 commit 22de362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smapi.cc
Expand Up @@ -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)
Expand Down

0 comments on commit 22de362

Please sign in to comment.