]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - interactive.c
sched: Do not shadow task_info in struct task.
[paraslash.git] / interactive.c
index 5d3303d77ae2e10e86e4d04dbb9df8b191715d8c..c5cdf12ea3781d9bc0b5ca860f2a642d6161dafa 100644 (file)
@@ -52,7 +52,7 @@ static struct i9e_private i9e_private, *i9ep = &i9e_private;
  */
 int i9e_get_error(void)
 {
-       return i9ep->task->error;
+       return task_status(i9ep->task);
 }
 
 static bool is_prefix(const char *partial, const char *full, size_t len)
@@ -439,7 +439,6 @@ static int dispatch_key(__a_unused int count, int key)
  * The caller must allocate and initialize the structure \a ici points to.
  *
  * \return Standard.
- * \sa \ref register_task().
  */
 int i9e_open(struct i9e_client_info *ici, struct sched *s)
 {