Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfriesne committed Jan 21, 2025
1 parent ba5f940 commit 0182a34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html/Beginners Guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <H2>The Single-Threaded messaging API (available on all platforms)</H2>
while(inputQueue.GetMessages().RemoveHead(msg) == B_NO_ERROR)
{
printf("Received incoming TCP Message:\n");
if (msg()) msg()->PrintToStream(); // handle message here
if (msg()) msg()->Print(stdout); // handle message here
}
}
printf("Connection was closed!\n");
Expand Down
2 changes: 1 addition & 1 deletion html/Custom Servers.html
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ <h2>Accessing StorageReflectSession functionality</h2>
printf("MyCallback called for node: [%s]\n", node.GetNodePath());
printf("Message for this node is: ");
const Message * nodeData = node.GetData()->GetItemPointer();
if (nodeData) nodeData->PrintToStream();
if (nodeData) nodeData->Print(stdout);
else printf("<null>\n");
Queue<String> * myList = (Queue<String> *) userData; // as passed in to DoTraversal()
myList->AddTail(node.GetNodePath());
Expand Down

0 comments on commit 0182a34

Please sign in to comment.