summaryrefslogtreecommitdiffstats
path: root/examples/c4info.c
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2019-03-20 13:55:01 +0100
committerMarkus Mittendrein <git@maxmitti.tk>2019-03-20 13:55:01 +0100
commit789ccf3365bc03a66abf5b36bb4c0098c9c5957a (patch)
treeb72fad0c8e0b67d334b8e4e29e3cb3ed94284ffe /examples/c4info.c
parent32b339a155ebd2be47d0f6636031df92e0a5f7a0 (diff)
downloadcc4group-789ccf3365bc03a66abf5b36bb4c0098c9c5957a.tar.gz
cc4group-789ccf3365bc03a66abf5b36bb4c0098c9c5957a.zip
Much documentation (I consider it to be quite complete)
Diffstat (limited to 'examples/c4info.c')
-rw-r--r--examples/c4info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/c4info.c b/examples/c4info.c
index 6fa63fe..ef4ace0 100644
--- a/examples/c4info.c
+++ b/examples/c4info.c
@@ -29,6 +29,8 @@ int main(int argc, char* argv[])
else
{
CC4Group_EntryInfo info;
+ // yes, this should be error checked, but this is only an example. and actually, if the root entry info can not be retrieved, there must be some serious problem somewhere else
+ // anyway, the worst thing that can happen would be printing some random uninitialized data to stdout. what a nice surprise!
cc4group.getEntryInfo(group, "", &info);
puts(argv[1]);