Re: [ERROR] -1 to 0

From: Rob O'Connor (rene@EDENEAST.COM)
Date: 02/08/98


I was handpatching do_jail from the ftp site..
after completing it, first few files compiled fine
got to ACMD(do_show) lines 2098 to 2114 in
act.wizard.c.  What bothers me is i hadn't made
any changes to this command, please take a look
at the lines i posted (2098-2114), probably just something
I missed.
shell: {156} % make
make ../bin/circle
gcc -c -g -O2 -Wall  act.wizard.c
act.wizard.c:2111: unterminated character constant
*** Error code 1
Stop.
*** Error code 1
Stop.
shell: {157} %
heres the offending lines of code:
    strcpy(buf, "Godrooms\r\n---
    if (ROOM_FLAGGED(i, ROOM_GODROOM))
      sprintf(buf,"%s%2d: [%5d]
%s\r\n",buf,++j,world[i].number,world[i].name);
    send_to_char(buf, ch);
    break;
  case 8:
    show_shops(ch, value);
    break;
  case 9:
    hcontrol_list_houses(ch);
    break;
\n", ch);
    break;
  }
}


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST