projects
/
sort-networks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e5f15
)
src/sn_network.c: Fix a bug/typo in the unserialize code.
author
Florian Forster
<octo@leeloo.home.verplant.org>
Sat, 12 Jul 2008 12:10:54 +0000
(14:10 +0200)
committer
Florian Forster
<octo@leeloo.home.verplant.org>
Sat, 12 Jul 2008 12:10:54 +0000
(14:10 +0200)
src/sn_network.c
patch
|
blob
|
history
diff --git
a/src/sn_network.c
b/src/sn_network.c
index
f6813e7
..
bda2e81
100644
(file)
--- a/
src/sn_network.c
+++ b/
src/sn_network.c
@@
-760,10
+760,10
@@
sn_network_t *sn_network_unserialize (char *buffer, size_t buffer_size)
break;
str_key = line;
- str_value = strchr (
buffer
, ':');
+ str_value = strchr (
line
, ':');
if (str_value == NULL)
{
- printf ("Cannot parse line: %s\n",
buffer
);
+ printf ("Cannot parse line: %s\n",
line
);
continue;
}