Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: David Sommerseth <davids@redhat.com>
Message-Id: 1342013929-10940-1-git-send-email-heiko.hund@sophos.com
URL: http://article.gmane.org/gmane.network.openvpn.devel/6842
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
| ... | ... |
@@ -316,30 +316,6 @@ init_connection_list (struct context *c) |
| 316 | 316 |
} |
| 317 | 317 |
} |
| 318 | 318 |
|
| 319 |
-#if 0 /* fixme -- disable for production */ |
|
| 320 |
-static void |
|
| 321 |
-show_connection_list (const struct connection_list *l) |
|
| 322 |
-{
|
|
| 323 |
- int i; |
|
| 324 |
- dmsg (M_INFO, "CONNECTION_LIST len=%d current=%d", |
|
| 325 |
- l->len, l->current); |
|
| 326 |
- for (i = 0; i < l->len; ++i) |
|
| 327 |
- {
|
|
| 328 |
- dmsg (M_INFO, "[%d] %s:%d proto=%s http_proxy=%d", |
|
| 329 |
- i, |
|
| 330 |
- l->array[i]->remote, |
|
| 331 |
- l->array[i]->remote_port, |
|
| 332 |
- proto2ascii(l->array[i]->proto, true), |
|
| 333 |
- BOOL_CAST(l->array[i]->http_proxy_options)); |
|
| 334 |
- } |
|
| 335 |
-} |
|
| 336 |
-#else |
|
| 337 |
-static inline void |
|
| 338 |
-show_connection_list (const struct connection_list *l) |
|
| 339 |
-{
|
|
| 340 |
-} |
|
| 341 |
-#endif |
|
| 342 |
- |
|
| 343 | 319 |
/* |
| 344 | 320 |
* Increment to next connection entry |
| 345 | 321 |
*/ |
| ... | ... |
@@ -374,7 +350,6 @@ next_connection_entry (struct context *c) |
| 374 | 374 |
|
| 375 | 375 |
if (l->current == 0) |
| 376 | 376 |
newcycle = true; |
| 377 |
- show_connection_list(l); |
|
| 378 | 377 |
} |
| 379 | 378 |
|
| 380 | 379 |
ce = l->array[l->current]; |