comparison libfdcore/peers.c @ 1395:603a72c4bf6c

peers.c: fix typo in comment
author Thomas Klausner <tk@giga.or.at>
date Fri, 15 Nov 2019 11:33:48 +0100
parents 8f9684264fe0
children 566bb46cc73f
comparison
equal deleted inserted replaced
1394:f17a56536790 1395:603a72c4bf6c
38 /* Global list of peers */ 38 /* Global list of peers */
39 struct fd_list fd_g_peers = FD_LIST_INITIALIZER(fd_g_peers); 39 struct fd_list fd_g_peers = FD_LIST_INITIALIZER(fd_g_peers);
40 pthread_rwlock_t fd_g_peers_rw = PTHREAD_RWLOCK_INITIALIZER; 40 pthread_rwlock_t fd_g_peers_rw = PTHREAD_RWLOCK_INITIALIZER;
41 41
42 /* List of active peers */ 42 /* List of active peers */
43 struct fd_list fd_g_activ_peers = FD_LIST_INITIALIZER(fd_g_activ_peers); /* peers linked by their p_actives oredered by p_diamid */ 43 struct fd_list fd_g_activ_peers = FD_LIST_INITIALIZER(fd_g_activ_peers); /* peers linked by their p_actives ordered by p_diamid */
44 pthread_rwlock_t fd_g_activ_peers_rw = PTHREAD_RWLOCK_INITIALIZER; 44 pthread_rwlock_t fd_g_activ_peers_rw = PTHREAD_RWLOCK_INITIALIZER;
45 45
46 /* List of validation callbacks (registered with fd_peer_validate_register) */ 46 /* List of validation callbacks (registered with fd_peer_validate_register) */
47 static struct fd_list validators = FD_LIST_INITIALIZER(validators); /* list items are simple fd_list with "o" pointing to the callback */ 47 static struct fd_list validators = FD_LIST_INITIALIZER(validators); /* list items are simple fd_list with "o" pointing to the callback */
48 static pthread_rwlock_t validators_rw = PTHREAD_RWLOCK_INITIALIZER; 48 static pthread_rwlock_t validators_rw = PTHREAD_RWLOCK_INITIALIZER;
"Welcome to our mercurial repository"