projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Replace 'if(' with 'if ('.
[fw/openocd]
/
src
/
helper
/
fileio.c
diff --git
a/src/helper/fileio.c
b/src/helper/fileio.c
index 735c5760154c09ccd4099872527cd399da598859..e40e019a1e190f490287df3f2a3c81fe0f315e1f 100644
(file)
--- a/
src/helper/fileio.c
+++ b/
src/helper/fileio.c
@@
-182,7
+182,7
@@
int fileio_read_u32(fileio_t *fileio, uint32_t *data)
static inline int fileio_local_fgets(fileio_t *fileio, uint32_t size, char *buffer)
{
static inline int fileio_local_fgets(fileio_t *fileio, uint32_t size, char *buffer)
{
- if( fgets(buffer, size, fileio->file) == NULL)
+ if
( fgets(buffer, size, fileio->file) == NULL)
return ERROR_FILEIO_OPERATION_FAILED;
return ERROR_OK;
return ERROR_FILEIO_OPERATION_FAILED;
return ERROR_OK;