[Spice-devel] [PATCH 12/15] server: s/desable/disable

Christophe Fergeau cfergeau at redhat.com
Thu Apr 21 04:53:37 PDT 2011


This fixes a typo in some function names, there should be no
functional change.
---
 server/reds.c       |    2 +-
 server/reds.h       |    2 +-
 server/snd_worker.c |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/server/reds.c b/server/reds.c
index f417738..fe4c603 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -3148,7 +3148,7 @@ void reds_enable_mm_timer(void)
     main_channel_push_multi_media_time(reds->main_channel, reds_get_mm_time() - MM_TIME_DELTA);
 }
 
-void reds_desable_mm_timer(void)
+void reds_disable_mm_timer(void)
 {
     core->timer_cancel(reds->mm_timer);
 }
diff --git a/server/reds.h b/server/reds.h
index 2c0e692..b286471 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -118,7 +118,7 @@ ssize_t reds_stream_write(RedsStream *s, const void *buf, size_t nbyte);
 ssize_t reds_stream_writev(RedsStream *s, const struct iovec *iov, int iovcnt);
 void reds_stream_free(RedsStream *s);
 
-void reds_desable_mm_timer(void);
+void reds_disable_mm_timer(void);
 void reds_enable_mm_timer(void);
 void reds_update_mm_timer(uint32_t mm_time);
 uint32_t reds_get_mm_time(void);
diff --git a/server/snd_worker.c b/server/snd_worker.c
index 9ecd382..c8e9d12 100644
--- a/server/snd_worker.c
+++ b/server/snd_worker.c
@@ -829,7 +829,7 @@ __visible__ void spice_server_playback_start(SpicePlaybackInstance *sin)
     if (!channel)
         return;
     ASSERT(!playback_channel->base.active);
-    reds_desable_mm_timer();
+    reds_disable_mm_timer();
     playback_channel->base.active = TRUE;
     if (!playback_channel->base.client_active) {
         snd_set_command(&playback_channel->base, SND_PLAYBACK_CTRL_MASK);
@@ -917,7 +917,7 @@ static void on_new_playback_channel(SndWorker *worker)
         snd_set_command((SndChannel *)playback_channel, SND_PLAYBACK_CTRL_MASK);
     }
     if (playback_channel->base.active) {
-        reds_desable_mm_timer();
+        reds_disable_mm_timer();
     }
 }
 
-- 
1.7.4.4



More information about the Spice-devel mailing list