mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Revert "exec: return NULL immediately if the task id is invalid"
This reverts commit dff1bf6f0f.
This commit is contained in:
@@ -89,7 +89,7 @@ exec_search_by_id (const char *id)
|
||||
error = NULL;
|
||||
number = strtol (id, &error, 10);
|
||||
if (!error || error[0])
|
||||
return NULL;
|
||||
number = -1;
|
||||
|
||||
for (ptr_exec_cmd = exec_cmds; ptr_exec_cmd;
|
||||
ptr_exec_cmd = ptr_exec_cmd->next_cmd)
|
||||
|
||||
Reference in New Issue
Block a user