]> granicus.if.org Git - libevent/commitdiff
Fix another warning introduced in 0c6ec5d8
authorNick Mathewson <nickm@torproject.org>
Thu, 25 Apr 2013 18:48:56 +0000 (14:48 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 25 Apr 2013 18:48:56 +0000 (14:48 -0400)
evutil.c

index 6e1d9a5b95e2f435650f37c9e4c7c4e28bad14e2..e8f5b96dbe76b2ade17a071af87e6d26c1ee9e75 100644 (file)
--- a/evutil.c
+++ b/evutil.c
@@ -1708,7 +1708,7 @@ evutil_socket_error_to_string(int errcode)
 
        if (!newerr) {
                LocalFree(msg);
-               msg = "winsock error";
+               msg = (char *)"malloc failed during Winsock error";
                goto done;
        }