Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #91 from comptonqc/patch-gzip_fix2

Fixed a logic error with my recent gzip patch
  • Loading branch information...
commit 0ae75b6de565dfa67278aeca0fbba72a7dd36c58 2 parents f6c5db3 + 05f0453
@jbuchbinder jbuchbinder authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  gmond/gmond.c
View
2  gmond/gmond.c
@@ -264,7 +264,7 @@ socket_send(apr_socket_t *sock, const char *buf, apr_size_t *len)
int z_ret;
ret = apr_socket_data_get((void**)&strm, GZIP_KEY, sock);
- if (ret != APR_SUCCESS)
+ if (ret != APR_SUCCESS || strm == NULL)
{
ret = socket_send_raw( sock, buf, len );
}
Please sign in to comment.
Something went wrong with that request. Please try again.