Commit 983cb26
src: don't create Undefined if not needed
This commit moves the creation of argv and only creates an undefined
value if the passed in status was not 0.
The variable name client_handle was already used in this function but
I've change that usage so that this variable name matches the
onconnection callback functions parameter name clientHandle.
PR-URL: #20573
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent e01e060 commit 983cb26Copy full SHA for 983cb26
File tree
Expand file treeCollapse file tree
1 file changed
+8
-8
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+8
-8
lines changedOpen diff view settings
Collapse file
+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
| 48 | + |
52 | 49 | |
53 | 50 | |
54 | 51 | |
| ||
59 | 56 | |
60 | 57 | |
61 | 58 | |
62 | | - |
63 | | - |
| 59 | + |
64 | 60 | |
65 | 61 | |
66 | 62 | |
67 | | - |
| 63 | + |
68 | 64 | |
69 | 65 | |
70 | 66 | |
71 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
72 | 70 | |
| 71 | + |
| 72 | + |
73 | 73 | |
74 | 74 | |
75 | 75 | |
|
0 commit comments