Lines 769-779
Link Here
|
769 |
if (((*name = strstr(whole, "Mosaic")) != NULL && (len = 6)) || |
769 |
if (((*name = strstr(whole, "Mosaic")) != NULL && (len = 6)) || |
770 |
((*name = strstr(whole, "mosaic")) != NULL && (len = 6)) || |
770 |
((*name = strstr(whole, "mosaic")) != NULL && (len = 6)) || |
771 |
((*name = strstr(whole, "Konqueror")) != NULL && (len = 9)) || |
771 |
((*name = strstr(whole, "Konqueror")) != NULL && (len = 9)) || |
|
|
772 |
((*name = strstr(whole, "Baiduspider")) != NULL && (len = 11)) || |
772 |
((*name = strstr(whole, "Galeon")) != NULL && (len = 6)) || |
773 |
((*name = strstr(whole, "Galeon")) != NULL && (len = 6)) || |
773 |
((*name = strstr(whole, "Phoenix")) != NULL && (len = 7)) || |
774 |
((*name = strstr(whole, "Phoenix")) != NULL && (len = 7)) || |
774 |
((*name = strstr(whole, "Firebird")) != NULL && (len = 8)) || |
775 |
((*name = strstr(whole, "Firebird")) != NULL && (len = 8)) || |
775 |
((*name = strstr(whole, "Firefox")) != NULL && (len = 7)) || |
776 |
((*name = strstr(whole, "Firefox")) != NULL && (len = 7)) || |
776 |
((*name = strstr(whole, "Chimera")) != NULL && (len = 7)) || |
777 |
((*name = strstr(whole, "Chimera")) != NULL && (len = 7)) || |
|
|
778 |
((*name = strstr(whole, "Chrome")) != NULL && (len = 6)) || |
777 |
((*name = strstr(whole, "Camino")) != NULL && (len = 6)) || |
779 |
((*name = strstr(whole, "Camino")) != NULL && (len = 6)) || |
778 |
((*name = strstr(whole, "Safari")) != NULL && (len = 6)) || |
780 |
((*name = strstr(whole, "Safari")) != NULL && (len = 6)) || |
779 |
((*name = strstr(whole, "WebTV")) != NULL && (len = 5)) || |
781 |
((*name = strstr(whole, "WebTV")) != NULL && (len = 5)) || |
Lines 904-911
Link Here
|
904 |
*name = "Macintosh"; |
906 |
*name = "Macintosh"; |
905 |
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL) |
907 |
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL) |
906 |
*name = "Unix:Linux"; |
908 |
*name = "Unix:Linux"; |
907 |
else if (strstr(whole, "BSD") != NULL) |
909 |
else if (strstr(whole, "FreeBSD") != NULL || strstr(whole, "freebsd") != NULL) |
908 |
*name = "Unix:BSD"; |
910 |
*name = "Unix:FreeBSD"; |
|
|
911 |
else if (strstr(whole, "OpenBSD") != NULL || strstr(whole, "openbsd") != NULL) |
912 |
*name = "Unix:OpenBSD"; |
913 |
else if (strstr(whole, "NetBSD") != NULL || strstr(whole, "netbsd") != NULL) |
914 |
*name = "Unix:NetBSD"; |
915 |
else if (strstr(whole, "BSD/OS") != NULL || strstr(whole, "bsd/os") != NULL) |
916 |
*name = "Unix:BSD/OS"; |
917 |
else if (strstr(whole, "BSD") != NULL || strstr(whole, "bsd") != NULL) |
918 |
*name = "Unix:Unknown BSD"; |
909 |
else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL) |
919 |
else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL) |
910 |
*name = "Unix:SunOS"; |
920 |
*name = "Unix:SunOS"; |
911 |
else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL || |
921 |
else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL || |