Commit b4166442 authored by Karl Heyes's avatar Karl Heyes
Browse files

Lets put this in the right place.

svn path=/trunk/net/; revision=4889
parent b4cdad00
......@@ -354,13 +354,13 @@ int sock_write_fmt(sock_t sock, const char *fmt, va_list ap)
if (buff)
len = vsnprintf (buff, len, fmt, ap_retry);
va_end (ap_retry);
if (len > 0)
rc = sock_write_bytes (sock, buff, len);
free (buff);
va_end (ap_retry);
return rc;
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