patch-2.4.0-test11 linux/drivers/isdn/hisax/config.c

Next file: linux/drivers/isdn/hisax/hfc_pci.c
Previous file: linux/drivers/isdn/divert/isdn_divert.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/isdn/hisax/config.c linux/drivers/isdn/hisax/config.c
@@ -484,7 +484,7 @@
 		}
 		i++;
 	}
-	if (strlen(str)) {
+	if (str && *str) {
 		strcpy(HiSaxID, str);
 		HiSax_id = HiSaxID;
 	} else {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)