diff -ur airtraf-1.0/src/sniffd/autoconfig.c airtraf-1.0-r1/src/sniffd/autoconfig.c --- airtraf-1.0/src/sniffd/autoconfig.c 2002-11-21 07:13:47.000000000 +0100 +++ airtraf-1.0-r1/src/sniffd/autoconfig.c 2004-09-21 22:17:02.641477344 +0200 @@ -358,7 +358,7 @@ int check_drv_compat(char * drvname, int * id) { int i; - for (i=0; (int) compat_drivers[i] != -1; i++){ + for (i=0; (long) compat_drivers[i] != -1; i++){ if (!strncmp(compat_drivers[i], drvname, DRVNAMSIZ +1)){ *id = i; return (1); // just true... @@ -490,6 +490,7 @@ /* Close the socket. */ close(skfd); + return 0; } /** @@ -701,7 +702,7 @@ } break; case DRV_PRISM2: - + break; } } diff -ur airtraf-1.0/src/sniffd/server.c airtraf-1.0-r1/src/sniffd/server.c --- airtraf-1.0/src/sniffd/server.c 2002-11-21 07:13:47.000000000 +0100 +++ airtraf-1.0-r1/src/sniffd/server.c 2004-09-21 22:19:18.625804584 +0200 @@ -57,7 +57,7 @@ int process_command(int, char *); int issue_get_cmd(int, char *); -int send_bss_info(int); +ssize_t send_bss_info(int); int send_ids_info(int); /*=============================================================*/ @@ -143,7 +143,7 @@ if (DEBUG) fprintf(stderr,"Error transmitting data\n"); } } while (write_len == 0); - if (DEBUG) fprintf(stderr,"Data: %d bytes sent\n",length); + if (DEBUG) fprintf(stderr,"Data: %ld bytes sent\n",length); } /** Seulement dans airtraf-1.0-r1/src/sniffd: server.c~