aboutsummaryrefslogtreecommitdiffstats
path: root/src/servers/master.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-05 21:26:44 +0200
committerMattias Andrée <maandree@kth.se>2016-08-05 21:26:44 +0200
commit20e81300c63e41c3fc8bf7dea6f5438fcf92da55 (patch)
tree922342e6439f90ccd4e186a5a703314630d5ff17 /src/servers/master.c
parentFix memory leak (diff)
downloadcoopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.gz
coopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.bz2
coopgammad-20e81300c63e41c3fc8bf7dea6f5438fcf92da55.tar.xz
typo + state dumping
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/servers/master.c')
-rw-r--r--src/servers/master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers/master.c b/src/servers/master.c
index acd0f6b..01b9bb5 100644
--- a/src/servers/master.c
+++ b/src/servers/master.c
@@ -128,7 +128,7 @@ static int dispatch_message(size_t conn, struct message* restrict msg)
*
* @param fds Reference parameter for the array of file descriptors
* @param fdn Output parameter for the number of file descriptors
- * @parma fds_alloc Reference parameter for the allocation size of `fds`, in elements
+ * @param fds_alloc Reference parameter for the allocation size of `fds`, in elements
* @return Zero on success, -1 on error
*/
static int update_fdset(struct pollfd** restrict fds, nfds_t* restrict fdn, nfds_t* restrict fds_alloc)