Revision 1834 trunk/plugins/unpack/plugin_unpack.c

plugin_unpack.c (revision 1834)
501 501
        ng_plugin_emit_log_msg(plugin_data, NG_LOG_LEVEL_INFO, _("Now unpacking '%s'"), file->filename);
502 502

                
503 503
        if (!unpack_do_unpack(plugin_data, collection_name, total_filename, target_directory, &errmsg)) {
504
            char *params[4];
504
            const char *params[4];
505 505

                
506 506
            if (!errmsg || strlen(errmsg) == 0) {
507 507
                errmsg = g_strdup_printf(_("process stopped unexpectedly"));
... ...
516 516
            ng_plugin_emit_log_msg(plugin_data, NG_LOG_LEVEL_WARNING, _("Automatic unpack failed due to an error: %s"), errmsg);
517 517
            g_free(errmsg);
518 518
        } else {
519
            char *params[3];
519
            const char *params[3];
520 520
            params[0] = collection_name;
521 521
            params[1] = file->filename;
522 522
            params[2] = NULL;

Also available in: Unified diff