mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Compare commits
1 Commits
libserialp
...
libserialp
Author | SHA1 | Date | |
---|---|---|---|
0c3f38b81b |
2
Doxyfile
2
Doxyfile
@ -38,7 +38,7 @@ PROJECT_NAME = "libserialport"
|
|||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = "0.1.1"
|
PROJECT_NUMBER = "unreleased development snapshot"
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewer a
|
# for a project that appears at the top of each page and should give viewer a
|
||||||
|
@ -373,7 +373,7 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***list)
|
|||||||
DBG("%s: %s\n", __func__, entry.d_name);
|
DBG("%s: %s\n", __func__, entry.d_name);
|
||||||
|
|
||||||
*list = list_append(*list, name);
|
*list = list_append(*list, name);
|
||||||
if (!list) {
|
if (!*list) {
|
||||||
SET_ERROR(ret, SP_ERR_MEM, "List append failed");
|
SET_ERROR(ret, SP_ERR_MEM, "List append failed");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
2
linux.c
2
linux.c
@ -236,7 +236,7 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***list)
|
|||||||
}
|
}
|
||||||
DEBUG_FMT("Found port %s", name);
|
DEBUG_FMT("Found port %s", name);
|
||||||
*list = list_append(*list, name);
|
*list = list_append(*list, name);
|
||||||
if (!list) {
|
if (!*list) {
|
||||||
SET_ERROR(ret, SP_ERR_MEM, "List append failed");
|
SET_ERROR(ret, SP_ERR_MEM, "List append failed");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user