* Populate IPC into a few more places to avoid a nasty crash at MORE prompt
authorMichael Hampton <io_error@uncensored.citadel.org>
Thu, 26 Feb 2004 20:30:36 +0000 (20:30 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Thu, 26 Feb 2004 20:30:36 +0000 (20:30 +0000)
citadel/ChangeLog
citadel/commands.c
citadel/rooms.c
citadel/rooms.h

index f7aae480cade0d3cdcffb95e2a56f8326ce1eba3..7b7d000676ea32e01b7bdcfbec5ef3beef64ec59 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 614.52  2004/02/26 20:30:36  error
+ * Populate IPC into a few more places to avoid a nasty crash at MORE prompt
+
  Revision 614.51  2004/02/26 20:17:29  error
  * Client stability and enhancements:
    * CtdlServInfo structure moved inside CtdlIPC; eliminates unnecessary
@@ -5410,3 +5413,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
+
index c00d389af1a3ee435b6fca941e3d933155444261..26128b995de8599153447788157e48cd91bc2e14 100644 (file)
@@ -157,7 +157,7 @@ int checkpagin(int lp, unsigned int pagin, unsigned int height)
        if (!pagin) return(0);
        if (lp>=(height-1)) {
                set_keepalives(KA_HALF);
-               hit_any_key();
+               hit_any_key(ipc_for_signal_handlers);   /* Cheating -IO */
                set_keepalives(KA_YES);
                return(0);
        }
index 431403aa8cf46f4500cbf2fbee0c3c78410a7c86..91220feddae754eaf3fc22f49806668d2b0e5c4a 100644 (file)
@@ -35,7 +35,6 @@
 
 
 void sttybbs(int cmd);
-void hit_any_key(void);
 void dotgoto(CtdlIPC *ipc, char *towhere, int display_name, int fromungoto);
 void progress(CtdlIPC* ipc, unsigned long curr, unsigned long cmax);
 int pattern(char *search, char *patn);
@@ -313,7 +312,7 @@ void knrooms(CtdlIPC *ipc, int kn_floor_mode)
        };
 
        color(DIM_WHITE);
-       IFNEXPERT hit_any_key();
+       IFNEXPERT hit_any_key(ipc);
 }
 
 
@@ -344,7 +343,7 @@ void listzrooms(CtdlIPC *ipc)
        };
 
        color(DIM_WHITE);
-       IFNEXPERT hit_any_key();
+       IFNEXPERT hit_any_key(ipc);
 }
 
 
index a103a052ddcffae88dd7da2fcbe04bb85cd51036..68d9d652424474060dfaf6046ac354d8782ebd62 100644 (file)
@@ -19,7 +19,7 @@ void create_floor(CtdlIPC *ipc);
 void edit_floor(CtdlIPC *ipc);
 void kill_floor(CtdlIPC *ipc);
 void enter_bio(CtdlIPC *ipc);
-void hit_any_key(void);
+void hit_any_key(CtdlIPC *ipc);
 int save_buffer(void *file, size_t filelen, const char *pathname);
 void destination_directory(char *dest, const char *supplied_filename);
 void do_edit(CtdlIPC *ipc,