mcabber/src/hooks.c
changeset 281 f562b9af2de7
parent 221 73f6ce668ba8
child 318 45076d02eeef
child 364 33b8e801ffa6
equal deleted inserted replaced
280:68ce34b4243b 281:f562b9af2de7
    88 /* External commands */
    88 /* External commands */
    89 
    89 
    90 //  hk_ext_cmd_init()
    90 //  hk_ext_cmd_init()
    91 // Initialize external command variable.
    91 // Initialize external command variable.
    92 // Can be called with parameter NULL to reset and free memory.
    92 // Can be called with parameter NULL to reset and free memory.
    93 void hk_ext_cmd_init(char *command)
    93 void hk_ext_cmd_init(const char *command)
    94 {
    94 {
    95   if (extcommand) {
    95   if (extcommand) {
    96     g_free(extcommand);
    96     g_free(extcommand);
    97     extcommand = NULL;
    97     extcommand = NULL;
    98   }
    98   }