. otherwise serial hardware gets reinitialized by tty
int valuelen = strlen(value);
/* Some variables we recognize */
- if(!strcmp(name, SERVARNAME)) { cbi->do_serial_debug = 1; return 0; }
- if(!strcmp(name, SERBAUDVARNAME)) { cbi->serial_debug_baud = atoi(value); return 0; }
+ if(!strcmp(name, SERVARNAME)) { cbi->do_serial_debug = 1; }
+ if(!strcmp(name, SERBAUDVARNAME)) { cbi->serial_debug_baud = atoi(value); }
/* Delete the item if already exists */
while (*p) {