Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #618

Merged
merged 2 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/xutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ namespace xpyt
void* array[10];

// get void*'s for all entries on the stack
size_t size = backtrace(array, 10);
int size = backtrace(array, 10);

// print out all the frames to stderr
fprintf(stderr, "Error: signal %d:\n", sig);
Expand Down
4 changes: 2 additions & 2 deletions test/xeus_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ nl::json xeus_client_base::receive_on_control()

void xeus_client_base::subscribe_iopub(const std::string& filter)
{
m_iopub.setsockopt(ZMQ_SUBSCRIBE, filter.c_str(), filter.length());
m_iopub.set(zmq::sockopt::subscribe, filter);
}

void xeus_client_base::unsubscribe_iopub(const std::string& filter)
{
m_iopub.setsockopt(ZMQ_UNSUBSCRIBE, filter.c_str(), filter.length());
m_iopub.set(zmq::sockopt::unsubscribe, filter);
}

nl::json xeus_client_base::receive_on_iopub()
Expand Down