git.openpandora.org
/
pandora-libraries.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get rid of EOL spaces
[pandora-libraries.git]
/
lib
/
pnd_conf.c
diff --git
a/lib/pnd_conf.c
b/lib/pnd_conf.c
index
6b8f644
..
9c4f31f
100644
(file)
--- a/
lib/pnd_conf.c
+++ b/
lib/pnd_conf.c
@@
-233,7
+233,7
@@
pnd_conf_handle pnd_conf_fetch_by_path ( char *fullpath ) {
} // key or key/value?
} // section or key/value line?
} // key or key/value?
} // section or key/value line?
-
+
} // while
// clean up a trifle
} // while
// clean up a trifle
@@
-300,7
+300,7
@@
char *pnd_conf_set_char ( pnd_conf_handle c, char *key, char *v ) {
}
// add the new node
}
// add the new node
- char *nv = pnd_box_allocinsert ( c, key, strlen ( v ) );
+ char *nv = pnd_box_allocinsert ( c, key, strlen ( v )
+ 1
);
if ( nv ) {
strcpy ( nv, v );
if ( nv ) {
strcpy ( nv, v );