mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-24 12:31:45 +01:00
Testing github commits to fix warnings.
This commit is contained in:
@@ -155,7 +155,6 @@ ACMD(do_tell)
|
|||||||
/* getpid() is not portable */
|
/* getpid() is not portable */
|
||||||
send_to_char(ch, "Sorry, that is not available in the windows port.\r\n");
|
send_to_char(ch, "Sorry, that is not available in the windows port.\r\n");
|
||||||
#else /* all other configurations */
|
#else /* all other configurations */
|
||||||
int i;
|
|
||||||
char word[MAX_INPUT_LENGTH], *p, *q;
|
char word[MAX_INPUT_LENGTH], *p, *q;
|
||||||
|
|
||||||
if (last_webster_teller != -1L) {
|
if (last_webster_teller != -1L) {
|
||||||
@@ -180,7 +179,6 @@ ACMD(do_tell)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
snprintf(buf, sizeof(buf), "../bin/webster %s %d &", word, (int) getpid());
|
snprintf(buf, sizeof(buf), "../bin/webster %s %d &", word, (int) getpid());
|
||||||
i = system(buf);
|
|
||||||
last_webster_teller = GET_IDNUM(ch);
|
last_webster_teller = GET_IDNUM(ch);
|
||||||
send_to_char(ch, "You look up '%s' in Merriam-Webster.\r\n", word);
|
send_to_char(ch, "You look up '%s' in Merriam-Webster.\r\n", word);
|
||||||
#endif /* platform specific part */
|
#endif /* platform specific part */
|
||||||
|
|||||||
Reference in New Issue
Block a user