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
|
||||
# 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
|
||||
# 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);
|
||||
|
||||
*list = list_append(*list, name);
|
||||
if (!list) {
|
||||
if (!*list) {
|
||||
SET_ERROR(ret, SP_ERR_MEM, "List append failed");
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user