[ispykee] r8 committed - Remove unused variables.

6 views
Skip to first unread message

isp...@googlecode.com

unread,
Sep 6, 2010, 9:06:25 AM9/6/10
to isp...@googlegroups.com
Revision: 8
Author: pe...@hungry.com
Date: Mon Sep 6 06:06:04 2010
Log: Remove unused variables.
http://code.google.com/p/ispykee/source/detail?r=8

Modified:
/trunk/spykee.c

=======================================
--- /trunk/spykee.c Mon Sep 6 05:47:46 2010
+++ /trunk/spykee.c Mon Sep 6 06:06:04 2010
@@ -127,7 +127,7 @@
{
char ascii_row[32];
char hex_row[80];
- int i, j, k;
+ int i, j;
char *a, *s;

for (i = 0; i < n; ) {
@@ -1201,10 +1201,10 @@
// connect to Spykee
int connect_spykee(char *ip, int port, char *uname, char*pw)
{
- struct sockaddr_in from, server_addr;
+ struct sockaddr_in server_addr;
struct in_addr server_sin_addr;
char *name1, *name2, *name3, *vstr;
- int x, i, k, n;
+ int x, i, n;
find_host(&server_sin_addr, ip);

if ((pk_sock = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
@@ -1288,7 +1288,7 @@
// connect to the iSpykee server
void connect_server(char *ip, int port, char *uname, char*pw)
{
- struct sockaddr_in from, server_addr;
+ struct sockaddr_in server_addr;
struct in_addr server_sin_addr;
int n;

Reply all
Reply to author
Forward
0 new messages