projects
/
libsigrokdecode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
708b3b8
)
srd: fix SIGROKDECODE_DIR env variable brokenness
author
Bert Vermeulen
<bert@biot.com>
Tue, 28 Feb 2012 01:01:41 +0000
(
02:01
+0100)
committer
Bert Vermeulen
<bert@biot.com>
Tue, 28 Feb 2012 13:34:53 +0000
(14:34 +0100)
controller.c
patch
|
blob
|
history
diff --git
a/controller.c
b/controller.c
index e169a5164dbeee9f7a9432cf2b3f7fd059caeab6..e49212ceab8d49a310446cac782ff01827506cea 100644
(file)
--- a/
controller.c
+++ b/
controller.c
@@
-94,7
+94,7
@@
SRD_API int srd_init(char *path)
/* Environment variable overrides everything, for debugging. */
if ((env_path = getenv("SIGROKDECODE_DIR"))) {
- if ((ret = add_modulepath(path)) != SRD_OK) {
+ if ((ret = add_modulepath(
env_
path)) != SRD_OK) {
Py_Finalize();
return ret;
}