[Spice-devel] [PATCH spice-server 1/5] reds: Use mnemonic to make code more readable
Christophe Fergeau
cfergeau at redhat.com
Tue Oct 9 11:49:02 UTC 2018
On Tue, Oct 09, 2018 at 04:33:33AM -0400, Frediano Ziglio wrote:
> >
> > Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> > ---
> > server/reds.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/server/reds.c b/server/reds.c
> > index 4645f1c6..80a1ae34 100644
> > --- a/server/reds.c
> > +++ b/server/reds.c
> > @@ -3004,7 +3004,7 @@ static void migrate_timeout(void *opaque)
> >
> > uint32_t reds_get_mm_time(void)
> > {
> > - return g_get_monotonic_time() / 1000;
> > + return g_get_monotonic_time() / MSEC_PER_SEC;
> > }
> >
> > void reds_enable_mm_time(RedsState *reds)
>
> Just realized should be USEC_PER_MSEC here, never mind, still morning
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
>
> Frediano
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20181009/0af4c2ae/attachment-0001.sig>
More information about the Spice-devel
mailing list