Skip to content

Commit af8ebe5

Browse files
committed
AbortError should return void
1 parent 2836c8b commit af8ebe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/binding.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class Connection : public EventEmitter {
283283
}
284284

285285
//aborts connection and returns connection error message
286-
char* AbortConnection()
286+
void AbortConnection()
287287
{
288288
EmitLastError();
289289
DestroyConnection();

0 commit comments

Comments
 (0)