1 --- afpfs-ng-0.8.1/lib/afp.c 2011-09-04 19:42:42.000000000 +0200
2 +++ afpfs-ng-0.8.1/lib/afp.c 2011-09-04 19:39:44.000000000 +0200
6 #include <sys/socket.h>
9 #include <afpfs-ng/afp_protocol.h>
10 #include <afpfs-ng/libafpclient.h>
11 --- afpfs-ng-0.8.1/lib/afp_url.c 2011-09-04 19:42:42.000000000 +0200
12 +++ afpfs-ng-0.8.1/lib/afp_url.c 2011-09-04 19:40:27.000000000 +0200
15 static int check_port(char * port)
17 - long long ret = strtol(port,NULL,10);
20 + ret = strtol(port,NULL,10);
21 if ((ret<0) || (ret>32767)) return -1;
23 printf("port error\n");