Skip to content
Snippets Groups Projects
Commit f2676adb authored by zwelch's avatar zwelch
Browse files

Fix typo from hurrying the last commit. Nothing to see here.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1662 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 6d60d226
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ int loadFile(const char *fileName, void **data, size_t *len)
// 0-byte after buffer (not included in *len) serves as a sentinel
char *buf = (char *)*data;
buf[*len = 0;
buf[*len] = 0;
return ERROR_OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment