summaryrefslogtreecommitdiffstats
path: root/server/glz_encoder_dictionary.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:03 +0200
committerAlexander Larsson <alexl@redhat.com>2010-05-21 10:51:28 +0200
commit012bd2577975b902aa5ce0cdd0eb43ef57c948fb (patch)
tree1dc3de75ad4c173d2de3f60cb0c9d78bf4517542 /server/glz_encoder_dictionary.c
parentd351bb35ce981d39e839528f4a23bc5b501adab8 (diff)
downloadspice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.gz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.tar.xz
spice-012bd2577975b902aa5ce0cdd0eb43ef57c948fb.zip
Fix spelling errors in comments and strings
Diffstat (limited to 'server/glz_encoder_dictionary.c')
-rw-r--r--server/glz_encoder_dictionary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/glz_encoder_dictionary.c b/server/glz_encoder_dictionary.c
index 94898805..de8963df 100644
--- a/server/glz_encoder_dictionary.c
+++ b/server/glz_encoder_dictionary.c
@@ -363,7 +363,7 @@ static INLINE void __glz_dictionary_window_free_image(SharedDictionary *dict, Wi
dict->window.free_images = image;
}
-/* moves all the segments that were associaed with the images to the free segments */
+/* moves all the segments that were associated with the images to the free segments */
static INLINE void __glz_dictionary_window_free_image_segs(SharedDictionary *dict,
WindowImage *image)
{
@@ -436,7 +436,7 @@ static INLINE int glz_dictionary_is_in_use(SharedDictionary *dict)
static void glz_dictionary_window_remove_head(SharedDictionary *dict, uint32_t encoder_id,
WindowImage *end_image)
{
- // note that the segs list heads (one per econder) may be different than the
+ // note that the segs list heads (one per encoder) may be different than the
// used_segs_head and it is updated somewhere else
while (dict->window.used_images_head != end_image) {
WindowImage *image = dict->window.used_images_head;
@@ -532,7 +532,7 @@ static WindowImage *glz_dictionary_window_add_image(SharedDictionary *dict, LzIm
// see glz_encode_tmpl::compress).
// Thus, the 'next' field of the list's tail can be accessed only
// after all the new tail's data was set. Note that we are relying on
- // an atomic assignment (32 bit varaible).
+ // an atomic assignment (32 bit variable).
// For the other thread that may read 'next' of the old tail, NULL_IMAGE_SEG_ID
// is equivalent to a segment with an image id that is different
// from the image id of the tail, so we don't need to further protect this field.