Commit 48d2e85d authored by Sachin Kadloor's avatar Sachin Kadloor Committed by Pavlo Kushnir

Undo a local change

Summary: I had committed a change by mistake. Reverting it.

Test Plan: build it.

Reviewed By: lakshmiganesh@fb.com

Subscribers: njormrod, folly-diffs@

FB internal diff: D1652341

Signature: t1:1652341:1414779013:9f363acba95fbac1988200081659edf71ac63eec
parent 7d8fbeb8
......@@ -29,9 +29,6 @@
#include <errno.h>
#include <sstream>
#include <string>
#include <execinfo.h>
#include <stdio.h>
#include <stdlib.h>
namespace {
......@@ -546,14 +543,6 @@ size_t SocketAddress::hash() const {
break;
case AF_UNSPEC:
default:
void *array[20];
size_t size;
// get void*'s for all entries on the stack
size = backtrace(array, 20);
// print out all the frames to stderr
fprintf(stderr, "Exception: \n");
backtrace_symbols_fd(array, size, STDERR_FILENO);
LOG(FATAL) << "Invalid ip address: " << describe();
throw std::invalid_argument(
"SocketAddress: unsupported address family "
"for hashing");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment