Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.c

    r6eaf35b r5b37c063  
    2020#include <locale.h>
    2121#include "owl.h"
     22
    2223
    2324#if OWL_STDERR_REDIR
     
    232233  owl_function_debugmsg("startup: processing config file");
    233234  owl_context_set_readconfig(owl_global_get_context(&g));
    234   perlerr=owl_perlconfig_initperl(configfile);
     235  perlerr=owl_perlconfig_initperl(configfile, &argc, &argv, &env);
    235236  if (perlerr) {
    236237    endwin();
     
    322323  sprintf(buff,      "Welcome to barnowl version %s.  Press 'h' for on-line help.            \n", OWL_VERSION_STRING);
    323324  strcat(startupmsg, buff);
    324   strcat(startupmsg, "To see a quick introduction, type ':show quickstart'.                  \n");
    325325  strcat(startupmsg, "                                                                       \n");
    326326  strcat(startupmsg, "BarnOwl is free software. Type ':show license' for more                \n");
    327   strcat(startupmsg, "information.                                                     ^ ^   \n");
     327  strcat(startupmsg, "information.                                                           \n");
     328  strcat(startupmsg, "                                                                 ^ ^   \n");
    328329  strcat(startupmsg, "                                                                 OvO   \n");
    329330  strcat(startupmsg, "Please report any bugs or suggestions to bug-barnowl@mit.edu    (   )  \n");
     
    510511      int signum;
    511512      if ((signum = owl_global_get_errsignal_and_clear(&g, &si)) > 0) {
    512         owl_function_error("Got unexpected signal: %d %s  (code: %d band: %ld  errno: %d)",
     513        owl_function_error("Got unexpected signal: %d %s  (code: %d band: %d  errno: %d)",
    513514                           signum, signum==SIGPIPE?"SIGPIPE":"SIG????",
    514515                           si.si_code, si.si_band, si.si_errno);
     
    611612
    612613  return 1;
     614}
     615
     616void owl_process_aim()
     617{
     618  if (owl_global_is_doaimevents(&g)) {
     619    owl_aim_process_events();
     620   
     621    if (owl_global_is_aimloggedin(&g)) {
     622      if (owl_timer_is_expired(owl_global_get_aim_buddyinfo_timer(&g))) {
     623        /* owl_buddylist_request_idletimes(owl_global_get_buddylist(&g)); */
     624        owl_timer_reset(owl_global_get_aim_buddyinfo_timer(&g));
     625      }
     626    }
     627  }
    613628}
    614629
Note: See TracChangeset for help on using the changeset viewer.