From 33226f2d76b6b7a06df6b76abbb3526100f5ae2d Mon Sep 17 00:00:00 2001 From: Wlodek Wencel Date: Tue, 8 Mar 2022 10:24:40 +0100 Subject: [#231] typo fix --- dhcpctl/dhcpctl.3 | 4 ++-- dhcpctl/dhcpctl.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'dhcpctl') diff --git a/dhcpctl/dhcpctl.3 b/dhcpctl/dhcpctl.3 index 48fd728c..5005ab34 100644 --- a/dhcpctl/dhcpctl.3 +++ b/dhcpctl/dhcpctl.3 @@ -268,7 +268,7 @@ authenticator has been created for the connection, then it is given as the 4th argument. On a successful return the address pointed at by the first argument will have a new connection object assigned to it. How long the function waits for complete the connection is dictated by the value -of the parameter, \fBtimeout\fR. If the value is null, it will wait indefinetly +of the parameter, \fBtimeout\fR. If the value is null, it will wait indefinitely Otherwise it will wait for the amount of time specified by \fBtimeout\fR (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. An example is shown below: @@ -333,7 +333,7 @@ to the server is lost. .Fn dhcpctl_timed_wait_for_completion flushes a pending message to the server and waits for the response. How long the function waits for a response is dictated by the value of the third -parameter, \fBtimeout\fR. If the value is null, it will wait indefinetly or +parameter, \fBtimeout\fR. If the value is null, it will wait indefinitely or until the connection is lost. Otherwise it will wait for the amount of time specified by \fBtimeout\fR (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. The result of the request as processed on the diff --git a/dhcpctl/dhcpctl.c b/dhcpctl/dhcpctl.c index cb84b4e0..07b55514 100644 --- a/dhcpctl/dhcpctl.c +++ b/dhcpctl/dhcpctl.c @@ -155,7 +155,7 @@ dhcpctl_status dhcpctl_connect (dhcpctl_handle *connection, information. How long the function waits for the connection to complete is dictated by the value of the parameter, t. If the value is nul, - it will wait indefinetly. Otherwise it will wait for the amount + it will wait indefinitely. Otherwise it will wait for the amount of time specified by t (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. */ dhcpctl_status dhcpctl_timed_connect (dhcpctl_handle *connection, @@ -235,7 +235,7 @@ dhcpctl_status dhcpctl_wait_for_completion (dhcpctl_handle h, will also be either zero for success or nonzero for some kind of failure. How long the function waits for a response is dictated by the value of the parameter, t. If the value is nul, - it will wait indefinetly or until the connection is lost. + it will wait indefinitely or until the connection is lost. Otherwise it will wait for the amount of time specified by t (tv_sec:tv_usec). Values of zero for both fields are valid but not recommended. The result of the request as processed on the -- cgit v1.2.1