projects
/
libsigrokdecode.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
srd: fix SIGROKDECODE_DIR env variable brokenness
[libsigrokdecode.git]
/
controller.c
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;
}