Skip to content

Commit

Permalink
retag
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyauble committed Sep 22, 2007
2 parents 7d237f4 + e28af8c commit 8522e79
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/common/hostlist.c
Expand Up @@ -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");
Expand Down

0 comments on commit 8522e79

Please sign in to comment.