Parent Directory | Revision Log | Patch
revision 1.1.1.1 by vizard, Tue Apr 15 21:53:15 2003 UTC | revision 1.2 by vizard, Sun Jun 15 21:01:30 2003 UTC | |
---|---|---|
# | Line 241 queue_t *snd_seq_queue_find_name(char *n | Line 241 queue_t *snd_seq_queue_find_name(char *n |
241 | ||
242 | for (i = 0; i < SNDRV_SEQ_MAX_QUEUES; i++) { | for (i = 0; i < SNDRV_SEQ_MAX_QUEUES; i++) { |
243 | if ((q = queueptr(i)) != NULL) { | if ((q = queueptr(i)) != NULL) { |
244 | if (strncpy(q->name, name, sizeof(q->name)) == 0) | if (strncmp(q->name, name, sizeof(q->name)) == 0) |
245 | return q; | return q; |
246 | queuefree(q); | queuefree(q); |
247 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |