patch-2.2.18 linux/drivers/isdn/hisax/config.c

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

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/isdn/hisax/config.c linux/drivers/isdn/hisax/config.c
@@ -619,7 +619,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)