blob: 788fa4801fcbfce2e9964b0cbb18c39a5ed0a746 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ah,v 1.1 2002/01/25 08:38:34 tron Exp $
--- cdinfo_d/cdinfo_i.c.orig Fri Jan 25 09:23:13 2002
+++ cdinfo_d/cdinfo_i.c Fri Jan 25 09:26:30 2002
@@ -2100,7 +2100,7 @@
return FALSE;
if (!cdinfo_puts(pp, XMCD_PIPESIG "match.genre"))
return FALSE;
- if (!cdinfo_puts(pp, p->genre))
+ if (!cdinfo_puts(pp, (p->genre == NULL) ? "221" : p->genre))
return FALSE;
}
|