Commit b0afd91a authored by Nick Mathewson's avatar Nick Mathewson 🎨
Browse files

Paranoid bulletproofing for exit code

parent f619c460
......@@ -200,7 +200,7 @@ AC_CACHE_CHECK([whether memset(0) sets pointers to NULL], tor_cv_null_is_zero,
[[#include <stdlib.h>
int main () { char *p1,*p2; p1=NULL; memset(&p2,0,sizeof(p2));
return memcmp(&p1,&p2,sizeof(char*)); }]])],
return memcmp(&p1,&p2,sizeof(char*))?1:0; }]])],
Supports Markdown
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