[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Graveman-cvs] Changes to graveman/current/src/cdrdao.c
From: |
sylvain cresto |
Subject: |
[Graveman-cvs] Changes to graveman/current/src/cdrdao.c |
Date: |
Thu, 31 Mar 2005 17:53:13 -0500 |
Index: graveman/current/src/cdrdao.c
diff -u graveman/current/src/cdrdao.c:1.11 graveman/current/src/cdrdao.c:1.12
--- graveman/current/src/cdrdao.c:1.11 Thu Mar 31 22:14:12 2005
+++ graveman/current/src/cdrdao.c Thu Mar 31 22:53:12 2005
@@ -518,7 +518,7 @@
g_io_channel_shutdown(Lcom, FALSE, NULL);
g_io_channel_unref(Lcom);
g_spawn_close_pid(*Lpid);
-printf(" LU = >%s\n", Loutput->str);
+
Larrbuf = g_strsplit(Loutput->str, "\n", 0);
g_string_free(Loutput, TRUE);
@@ -532,30 +532,24 @@
if (!strncmp(Larrbuf[i], CDRDAO_CDRW, strlen(CDRDAO_CDRW))) {
if (strstr(Larrbuf[i], CDRDAO_YES)) {
Llu += _MEDIA_CDRW;
- printf("oui cdrw !\n");
}
} else if (!strncmp(Larrbuf[i], CDRDAO_TOCTYPE, strlen(CDRDAO_TOCTYPE))) {
if (strstr(Larrbuf[i], CDRDAO_CD)) {
Llu += _MEDIA_CD;
- printf("oui cd !\n");
}
} else if (!strncmp(Larrbuf[i], CDRDAO_CDR, strlen(CDRDAO_CDR))) {
if (!strstr(Larrbuf[i], CDRDAO_NA)) {
Llu += _MEDIA_CDR;
- printf("oui cdr !\n");
}
} else if (!strncmp(Larrbuf[i], CDRDAO_EMPTY, strlen(CDRDAO_EMPTY))) {
if (strstr(Larrbuf[i], CDRDAO_YES)) {
Llu += _MEDIA_BLANK;
- printf("blank !\n");
} else {
Llu += _MEDIA_NOBLANK;
- printf("no blank !\n");
}
} else if (!strncmp(Larrbuf[i], CDRDAO_APPENDABLE,
strlen(CDRDAO_APPENDABLE))) {
if (!strstr(Larrbuf[i], CDRDAO_NO)) {
Llu += _MEDIA_APPENDABLE;
- printf("oui appednable !\n");
}
}
}
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/01
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/03
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/11
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/21
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/27
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/28
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c, sylvain cresto, 2005/03/31
- [Graveman-cvs] Changes to graveman/current/src/cdrdao.c,
sylvain cresto <=