public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH v1] alfred: Formatting patch for sync-period casts
@ 2017-01-27  2:23 Jonathan Haws
  2017-01-27 14:10 ` Simon Wunderlich
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Haws @ 2017-01-27  2:23 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Jonathan Haws

---
 main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index 1cabe15..446eecf 100644
--- a/main.c
+++ b/main.c
@@ -276,8 +276,8 @@ static struct globals *alfred_init(int argc, char *argv[])
 			return NULL;
 		case 'p':
 			sync_period = strtod(optarg, NULL);
-			globals->sync_period.tv_sec = (int) sync_period;
-			globals->sync_period.tv_nsec = (double) (sync_period - (int) sync_period) * 1e9;
+			globals->sync_period.tv_sec = (int)sync_period;
+			globals->sync_period.tv_nsec = (double)(sync_period - (int)sync_period) * 1e9;
 			printf(" ** Setting sync interval to: %.9f seconds (%ld.%09ld)\n", sync_period, globals->sync_period.tv_sec, globals->sync_period.tv_nsec);
 			break;
 		case '4':
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH v1] alfred: Formatting patch for sync-period casts
  2017-01-27  2:23 [B.A.T.M.A.N.] [PATCH v1] alfred: Formatting patch for sync-period casts Jonathan Haws
@ 2017-01-27 14:10 ` Simon Wunderlich
  2017-01-27 15:30   ` Jonathan Haws
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Wunderlich @ 2017-01-27 14:10 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Jonathan Haws

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

Thanks Jonathan,

I've added your sign-off manually (but only this time, since its so trivial! 
please don't forget it on other patches) and adjusted the subject. The patch 
can be found in revision c73e56c.

Thanks,
     Simon

On Thursday, January 26, 2017 7:23:09 PM CET Jonathan Haws wrote:
> ---
>  main.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/main.c b/main.c
> index 1cabe15..446eecf 100644
> --- a/main.c
> +++ b/main.c
> @@ -276,8 +276,8 @@ static struct globals *alfred_init(int argc, char
> *argv[]) return NULL;
>  		case 'p':
>  			sync_period = strtod(optarg, NULL);
> -			globals->sync_period.tv_sec = (int) sync_period;
> -			globals->sync_period.tv_nsec = (double) (sync_period - (int)
> sync_period) * 1e9; +			globals->sync_period.tv_sec = (int)sync_period;
> +			globals->sync_period.tv_nsec = (double)(sync_period - 
(int)sync_period)
> * 1e9; printf(" ** Setting sync interval to: %.9f seconds (%ld.%09ld)\n",
> sync_period, globals->sync_period.tv_sec, globals->sync_period.tv_nsec);
> break;
>  		case '4':


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [B.A.T.M.A.N.] [PATCH v1] alfred: Formatting patch for sync-period casts
  2017-01-27 14:10 ` Simon Wunderlich
@ 2017-01-27 15:30   ` Jonathan Haws
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Haws @ 2017-01-27 15:30 UTC (permalink / raw)
  To: b.a.t.m.a.n@lists.open-mesh.org


> I've added your sign-off manually (but only this time, since its so
> trivial! 
> please don't forget it on other patches) and adjusted the subject.
> The patch 
> can be found in revision c73e56c.

Shoot - I knew I forgot something when I ran format-patch!  Thanks for
covering me. :)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-27 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-27  2:23 [B.A.T.M.A.N.] [PATCH v1] alfred: Formatting patch for sync-period casts Jonathan Haws
2017-01-27 14:10 ` Simon Wunderlich
2017-01-27 15:30   ` Jonathan Haws

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox