Skip to content

Commit 81d3a52

Browse files
committed
Minor edits.
1 parent 1d5dfc8 commit 81d3a52

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/o2.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,10 @@ int o2_service_new(const char *service_name);
801801
*
802802
* @return #O2_SUCCESS if success, #O2_FAIL if not.
803803
*
804-
* After this call, messages to tappee are copied, modified by replacing
805-
* the service with tapper, and sent. The original message to tappee
806-
* is also delivered.
804+
* Create a new service named #tapper and have messages
805+
* copied from #tappee. After this call, messages to tappee
806+
* are copied, modified by replacing the service with tapper,
807+
* and sent. The original message to tappee is also delivered.
807808
*/
808809
int o2_tap(const char *tappee, const char *tapper);
809810

src/o2_clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ int o2_roundtrip(double *mean, double *min)
385385

386386
// o2_ping_send_handler -- handler for /_o2/ps (short for "ping send")
387387
// wait for clock sync service to be established,
388-
// then send ping every 0.1s CLICK_SYNC_HISTORY_LEN times,
388+
// then send ping every 0.1s CLOCK_SYNC_HISTORY_LEN times,
389389
// then every 0.5s for 5s, then every 10s
390390
//
391391
void o2_ping_send_handler(o2_msg_data_ptr msg, const char *types,

0 commit comments

Comments
 (0)