Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 67c880d

Browse files
committed
fixed typo
1 parent 01864ad commit 67c880d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/thing/Portal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ void Portal::Start(const Config& config) {
129129
char* buffer;
130130
{ // Scoped to free String memory.
131131
String config = server_.arg("config");
132-
buffer = (char*)malloc(config.length+1());
132+
buffer = (char*)malloc(config.length()+1);
133133
memcpy(buffer, config.c_str(), config.length()+1);
134134
}
135135
config_.ReadFromJson(buffer);

0 commit comments

Comments
 (0)