Permalink
Browse files

fixed a stupid typo

  • Loading branch information...
1 parent 0f1717e commit 22a760037672798e1217cd417dff286e412a7b99 @typester committed Feb 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod_fastcgi_reproxy.c
View
2 mod_fastcgi_reproxy.c
@@ -4322,7 +4322,7 @@ static int proxy_establish_connection(server *srv, handler_ctx *hctx) {
if (INADDR_NONE == proxy_addr_in.sin_addr.s_addr) {
struct hostent *h;
h = gethostbyname(host->ptr);
- if (NULL == host) {
+ if (NULL == h) {
log_error_write(srv, __FILE__, __LINE__, "sd",
"gethostbyname failed: ", proxy_fd);
return -1;

0 comments on commit 22a7600

Please sign in to comment.