projects
/
usb-driver
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e9a331c
)
config-parser fix from Reimar Doeffinger
author
Michael Gernoth
<michael@gernoth.net>
Mon, 8 Oct 2007 13:43:55 +0000
(15:43 +0200)
committer
Michael Gernoth
<michael@gernoth.net>
Mon, 8 Oct 2007 13:43:55 +0000
(15:43 +0200)
config.c
patch
|
blob
|
blame
|
history
diff --git
a/config.c
b/config.c
index 78de78b80b6f087ad3401c7fe958228bdaabbe85..a39902e99e8a04f683f398266f0cc13ffddc94e8 100644
(file)
--- a/
config.c
+++ b/
config.c
@@
-143,7
+143,7
@@
static void read_config() {
vid = 0;
vid = strtol(pbuf, NULL, 16);
- if (!
num
) {
+ if (!
vid
) {
PARSEERROR;
continue;
}
@@
-158,7
+158,7
@@
static void read_config() {
pid = 0;
pid = strtol(pbuf, NULL, 16);
- if (!
num
) {
+ if (!
pid
) {
PARSEERROR;
continue;
}
Impressum
,
Datenschutz