1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

Revert "exec: return NULL immediately if the task id is invalid"

This reverts commit dff1bf6f0f.

(cherry picked from commit 08ebc99dea)
This commit is contained in:
Sébastien Helleu
2020-12-05 19:57:24 +01:00
parent 03d36f13af
commit 9db6255a84
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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)