Loading lib/multi.c +1 −3 Original line number Diff line number Diff line Loading @@ -213,8 +213,6 @@ static const char * const statename[]={ "DONE", "COMPLETED", }; static void curl_multi_dump(CURLM *multi_handle); #endif /* always use this function to change state, to make debugging easier */ Loading Loading @@ -2232,7 +2230,7 @@ static void add_closure(struct Curl_multi *multi, } #ifdef CURLDEBUG static void curl_multi_dump(CURLM *multi_handle) void Curl_multi_dump(const struct Curl_multi *multi_handle) { struct Curl_multi *multi=(struct Curl_multi *)multi_handle; struct Curl_one_easy *easy; Loading lib/multiif.h +10 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading Loading @@ -44,4 +44,13 @@ void Curl_multi_handlePipeBreak(struct SessionHandle *data); /* set the bit for the given sock number to make the bitmap for readable */ #define GETSOCK_READSOCK(x) (1 << (x)) #ifdef CURLDEBUG /* * Curl_multi_dump is not a stable public function, this is only meant to * allow easier tracking of the internal handle's state and what sockets * they use. Only for research and development CURLDEBUG enabled builds. */ void Curl_multi_dump(const struct Curl_multi *multi_handle); #endif #endif /* __MULTIIF_H */ Loading
lib/multi.c +1 −3 Original line number Diff line number Diff line Loading @@ -213,8 +213,6 @@ static const char * const statename[]={ "DONE", "COMPLETED", }; static void curl_multi_dump(CURLM *multi_handle); #endif /* always use this function to change state, to make debugging easier */ Loading Loading @@ -2232,7 +2230,7 @@ static void add_closure(struct Curl_multi *multi, } #ifdef CURLDEBUG static void curl_multi_dump(CURLM *multi_handle) void Curl_multi_dump(const struct Curl_multi *multi_handle) { struct Curl_multi *multi=(struct Curl_multi *)multi_handle; struct Curl_one_easy *easy; Loading
lib/multiif.h +10 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms Loading Loading @@ -44,4 +44,13 @@ void Curl_multi_handlePipeBreak(struct SessionHandle *data); /* set the bit for the given sock number to make the bitmap for readable */ #define GETSOCK_READSOCK(x) (1 << (x)) #ifdef CURLDEBUG /* * Curl_multi_dump is not a stable public function, this is only meant to * allow easier tracking of the internal handle's state and what sockets * they use. Only for research and development CURLDEBUG enabled builds. */ void Curl_multi_dump(const struct Curl_multi *multi_handle); #endif #endif /* __MULTIIF_H */