Merge pull request #43 from TNTINC/patch-1

Update README.md
This commit is contained in:
CK Tan 2020-09-21 21:47:58 -07:00 committed by GitHub
commit ddb9cc4eeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ if (0 == conf) {
fclose(fp);
/* Alternatively, use `toml_parse` which takes a string rather than a file. */
conf = toml_parse("A null terminated string that is TOML\0", errbuf, sizeof(errbuf);
conf = toml_parse("A null terminated string that is TOML\0", errbuf, sizeof(errbuf));
```
2. Get a single table from the file.