comparison src/channel.c @ 16378:3d6b282e2d6e v8.1.1194

patch 8.1.1194: typos and small problems in source files commit https://github.com/vim/vim/commit/ad3ec76bb8030b9a1d3f0a49c374d0de2383b977 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 21 00:00:13 2019 +0200 patch 8.1.1194: typos and small problems in source files Problem: Typos and small problems in source files. Solution: Small fixes.
author Bram Moolenaar <Bram@vim.org>
date Sun, 21 Apr 2019 00:15:05 +0200
parents a2c598cbe220
children 7ae2396cef62
comparison
equal deleted inserted replaced
16377:b79321679d79 16378:3d6b282e2d6e
1904 node->rq_buflen = (long_u)len; 1904 node->rq_buflen = (long_u)len;
1905 } 1905 }
1906 1906
1907 if (prepend) 1907 if (prepend)
1908 { 1908 {
1909 /* preend node to the head of the queue */ 1909 // prepend node to the head of the queue
1910 node->rq_next = head->rq_next; 1910 node->rq_next = head->rq_next;
1911 node->rq_prev = NULL; 1911 node->rq_prev = NULL;
1912 if (head->rq_next == NULL) 1912 if (head->rq_next == NULL)
1913 head->rq_prev = node; 1913 head->rq_prev = node;
1914 else 1914 else
1915 head->rq_next->rq_prev = node; 1915 head->rq_next->rq_prev = node;
1916 head->rq_next = node; 1916 head->rq_next = node;
1917 } 1917 }
1918 else 1918 else
1919 { 1919 {
1920 /* append node to the tail of the queue */ 1920 // append node to the tail of the queue
1921 node->rq_next = NULL; 1921 node->rq_next = NULL;
1922 node->rq_prev = head->rq_prev; 1922 node->rq_prev = head->rq_prev;
1923 if (head->rq_prev == NULL) 1923 if (head->rq_prev == NULL)
1924 head->rq_next = node; 1924 head->rq_next = node;
1925 else 1925 else