View | Details | Raw Unified
Collapse All | Expand All

(-) irda-utils-0.9.15/irattach/irattach.c.rh1 (-1 / +1 lines)
 Lines 614-620    Link Here 
	/* First arg is device name. Save it now, because in some cases
	/* First arg is device name. Save it now, because in some cases
	 * getopt() will remove it... */
	 * getopt() will remove it... */
	strncpy(device, argv[1], 20);
	strncpy(device, argv[1], 20);
	device[20] = '\0';
	device[19] = '\0';
	/* Look for options */
	/* Look for options */
	/* Do this before processing device, to handle "-h" and -v"
	/* Do this before processing device, to handle "-h" and -v"