From: zwelch Date: Fri, 8 May 2009 05:33:08 +0000 (+0000) Subject: Fix typo from hurrying the last commit. Nothing to see here. X-Git-Tag: v0.2.0~843 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=f2676adb3cf90ebd64a44798cfdfac4a352608a4;hp=6d60d226874d2a8310550f41b3fef81139f582a1 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 --- diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c index 51f58f0f63..8fdbb2b66f 100644 --- a/src/helper/ioutil.c +++ b/src/helper/ioutil.c @@ -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; }