projects
/
am-utils-6.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b600d6a
)
no trailing whitespaces
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 14 Sep 2005 00:27:55 +0000
(
00:27
+0000)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 14 Sep 2005 00:27:55 +0000
(
00:27
+0000)
amd/sun_map.c
patch
|
blob
|
history
diff --git
a/amd/sun_map.c
b/amd/sun_map.c
index 79992c9df3a184594ff999ad2c6e2437c42dc4e5..27e7c9450c87e18d30990dee4e07ba9a20a16575 100644
(file)
--- a/
amd/sun_map.c
+++ b/
amd/sun_map.c
@@
-529,14
+529,14
@@
sun_entry2amd(const char *key, const char *s_entry_str)
plog(XLOG_ERROR,"Sun entry value was null");
goto err;
}
-
+
/* Make sure there are no trailing white spaces or '\n'. */
xstrlcpy(line_buff, s_entry_str, sizeof(line_buff));
ws = strlen(line_buff) - 1;
while (ws >= 0 && (isspace((int)line_buff[ws]) || line_buff[ws] == '\n')) {
line_buff[ws--] = '\0';
}
-
+
/* Parse the sun entry line. */
s_entry = sun_map_parse_read(line_buff);
if (s_entry == NULL) {