Skip to content

Commit

Permalink
src: make udp_wrap.cc pass the cpplint
Browse files Browse the repository at this point in the history
PR-URL: nodejs#25818
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
JacksonTian authored and jasnell committed Aug 6, 2015
1 parent 75ceaa0 commit 8e539dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udp_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ void UDPWrap::OnRecv(uv_udp_t* handle,
base = static_cast<char*>(realloc(buf->base, nread));
// If realloc fails, fallback to old pointer
// safe since we are always shrinking the buffer
if(base == NULL)
if (base == NULL)
base = buf->base;
} else {
free(buf->base);
Expand Down

0 comments on commit 8e539dc

Please sign in to comment.