Changeset 1864
- Timestamp:
- 03/21/10 13:56:53 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-config.c
r1861 r1864 1757 1757 1758 1758 /*serial*/ 1759 1759 if (cfg->ser_device[0]){ 1760 fprintf(f,"[serial]\n"); 1761 char sdevice[512]; 1762 cs_strncpy(sdevice, cfg->ser_device, sizeof(sdevice)); 1763 char *p; 1764 while( (p = strrchr(sdevice, 1)) ) { 1765 *p = 0; 1766 fprintf_conf(f, CONFVARWIDTH, "device", "%s\n", p + 1); 1767 } 1768 fprintf_conf(f, CONFVARWIDTH, "device", "%s\n", sdevice); 1769 fprintf(f,"\n"); 1770 } 1760 1771 1761 1772 /*cccam*/
Note:
See TracChangeset
for help on using the changeset viewer.