summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f7b4eca)
02-namedev.c-strcat-tweak.diff
o cat the substitution to the already known end of the string instead of searching it another time
case 'b':
if (strlen(udev->bus_id) == 0)
break;
case 'b':
if (strlen(udev->bus_id) == 0)
break;
- strcat(string, udev->bus_id);
+ strcat(pos, udev->bus_id);
dbg("substitute bus_id '%s'", udev->bus_id);
break;
case 'n':
dbg("substitute bus_id '%s'", udev->bus_id);
break;
case 'n':