ported most of the libstrongswan chunk_t macros to pluto

This commit is contained in:
Andreas Steffen
2009-04-17 16:11:33 +00:00
parent c04e75487f
commit 9b91b81870
27 changed files with 273 additions and 250 deletions
+1 -1
View File
@@ -1467,7 +1467,7 @@ scan_proc_shunts(void)
cp += strspn(cp, sep); /* find start of field */
w = strcspn(cp, sep); /* find width of field */
setchunk(field[fi], cp, w);
field[fi] = chunk_create(cp, w);
cp += w;
if (w == 0)
break;