Author: bh
Date: 2007-07-24 19:37:09 +0200 (Tue, 24 Jul 2007)
New Revision: 314
Modified:
trunk/openvas-libraries/ChangeLog
trunk/openvas-libraries/libopenvas/network.c
Log:
* libopenvas/network.c (ovas_server_context_attach)
(read_stream_connection_unbuffered)
(write_stream_connection4, internal_send, internal_recv): Remove
unused variables
Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog 2007-07-24 17:34:16 UTC (rev 313)
+++ trunk/openvas-libraries/ChangeLog 2007-07-24 17:37:09 UTC (rev 314)
@@ -1,5 +1,12 @@
2007-07-24 Bernhard Herzog <[EMAIL PROTECTED]>
+ * libopenvas/network.c (ovas_server_context_attach)
+ (read_stream_connection_unbuffered)
+ (write_stream_connection4, internal_send, internal_recv): Remove
+ unused variables
+
+2007-07-24 Bernhard Herzog <[EMAIL PROTECTED]>
+
* libopenvas/network.c: Add missing include of <gnutls/x509.h>
2007-07-24 Bernhard Herzog <[EMAIL PROTECTED]>
Modified: trunk/openvas-libraries/libopenvas/network.c
===================================================================
--- trunk/openvas-libraries/libopenvas/network.c 2007-07-24 17:34:16 UTC
(rev 313)
+++ trunk/openvas-libraries/libopenvas/network.c 2007-07-24 17:37:09 UTC
(rev 314)
@@ -1198,7 +1198,6 @@
{
int fd = -1;
nessus_connection * fp = NULL;
- int status;
int ret;
fd = ovas_allocate_connection(soc, ctx->encaps);
@@ -1322,7 +1321,7 @@
void* buf0;
int min_len, max_len;
{
- int ret, realfd, trp, t, err;
+ int ret, realfd, trp, t;
int total = 0, flag = 0, timeout = TIMEOUT, waitall = 0;
unsigned char * buf = (unsigned char*)buf0;
nessus_connection *fp = NULL;
@@ -1581,7 +1580,7 @@
int n;
int i_opt;
{
- int err, ret, count;
+ int ret, count;
unsigned char* buf = (unsigned char*)buf0;
nessus_connection * fp;
fd_set fdr, fdw;
@@ -2580,8 +2579,6 @@
int len;
int e;
int ack;
- fd_set rd;
- struct timeval tv;
if ( data == NULL )
data = "";
@@ -2615,8 +2612,6 @@
int e;
char * buf = *data;
int sz = *data_sz;
- fd_set rd;
- struct timeval tv;
int type;
int ack;
_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits