]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - client_common.c
Don't check return value of command line parsers unnecessarily.
[paraslash.git] / client_common.c
index 8958cace8bf187ec2c09c2e8f98e8d27eaff06b3..f4b09cd23c2eeedf7974583f3bf2cf145c993fc5 100644 (file)
@@ -13,7 +13,6 @@
 #include "error.h"
 #include "list.h"
 #include "sched.h"
-#include "client.cmdline.h"
 #include "crypt.h"
 #include "net.h"
 #include "fd.h"
 #define CLIENT_BUFSIZE 4000
 
 /**
- * Close the connection to para_server and deallocate per-command ressources.
+ * Close the connection to para_server and deallocate per-command resources.
  *
  * \param ct The client task.
  *
- * This frees all ressources of the current command but keeps the configuration
+ * This frees all resources of the current command but keeps the configuration
  * in \p ct->conf.
  *
  * \sa \ref client_close().
@@ -601,7 +600,7 @@ int client_connect(struct client_task *ct, struct sched *s,
        ct->btrn = btr_new_node(&(struct btr_node_description)
                EMBRACE(.name = "client", .parent = parent, .child = child));
        ct->task.pre_select = client_pre_select;
-       ct->task.new_post_select = client_post_select;
+       ct->task.post_select = client_post_select;
        ct->task.error = 0;
        sprintf(ct->task.status, "client");
        register_task(s, &ct->task);