Ticket #38150: patch-src-process_extraspikes-strdupa.diff
File patch-src-process_extraspikes-strdupa.diff, 926 bytes (added by FlorianFranzen@…, 12 years ago) |
---|
-
src/process_extractspikes/process_extractspikes.cpp
old new 1616 1616 char *groups, *currentGroup, *thresholds; // Groups of electrodes and thr 1617 1617 1618 1618 // extract thresholds from arguments 1619 groups = strdup a(arguments.thresList); // Split groups1619 groups = strdup (arguments.thresList); // Split groups 1620 1620 currentGroup = strsep (&groups, GROUP_SEPARATOR); // focus on the 1st group 1621 1621 1622 1622 while(currentGroup != NULL) { … … 1665 1665 char *groups, *currentGroup, *channels; // Groups of electrodes and channels 1666 1666 1667 1667 // extract channels from arguments 1668 groups = strdup a(arguments.channelList); // Split groups1668 groups = strdup (arguments.channelList); // Split groups 1669 1669 currentGroup = strsep (&groups, GROUP_SEPARATOR); // focus on the 1st group 1670 1670 1671 1671 while(currentGroup != NULL) {