Permalink
Browse files

retag

  • Loading branch information...
2 parents 7d237f4 + e28af8c commit 8522e7931170beaa3fb71f3df3e16c5a442c9388 @dannyauble dannyauble committed Sep 22, 2007
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/common/hostlist.c
View
@@ -574,11 +574,8 @@ static hostname_t hostname_create(const char *hostname)
hn->num = 0;
hn->prefix = NULL;
hn->suffix = NULL;
-#ifdef HAVE_BG
- if (idx == (strlen(hostname) - 4)) {
-#else
+
if (idx == (strlen(hostname) - 1)) {
-#endif
if ((hn->prefix = strdup(hostname)) == NULL) {
hostname_destroy(hn);
out_of_memory("hostname prefix create");

0 comments on commit 8522e79

Please sign in to comment.