Skip to content

Commit

Permalink
Merge pull request #131 from rstudio/fix-null-list
Browse files Browse the repository at this point in the history
Replace NULL with empty list
  • Loading branch information
wch authored May 4, 2018
2 parents 70da68d + f4565b5 commit 4a44b53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: httpuv
Type: Package
Title: HTTP and WebSocket Server Library
Version: 1.4.2
Version: 1.4.2.9000
Author: Joe Cheng, Hector Corrada Bravo [ctb], Jeroen Ooms [ctb],
Winston Chang [ctb]
Copyright: RStudio, Inc.; Joyent, Inc.; Nginx Inc.; Igor Sysoev; Niels Provos;
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
httpuv 1.4.2.9000
=================

* Fixed [#127](https://github.com/rstudio/httpuv/issues/127): Compilation failed on some platforms because `NULL` was used instead of an `Rcpp::List`. ([#131](https://github.com/rstudio/httpuv/pulls/131))

httpuv 1.4.2
============

Expand Down
2 changes: 1 addition & 1 deletion src/webapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ void RWebApplication::getResponse(boost::shared_ptr<HttpRequest> pRequest,
// the R call/_onRequest() function. We need to signal the HttpRequest
// object to let it know that we had an error.
if (pRequest->isResponseScheduled()) {
invokeCppCallback(NULL, callback_xptr);
invokeCppCallback(Rcpp::List(), callback_xptr);
}
else {

Expand Down

0 comments on commit 4a44b53

Please sign in to comment.