if ( level == OPKG_ERROR ){
push_error_list(&error_list, msg);
} else
- printf(msg);
+ printf("%s",msg);
}
return 0;
}
char* default_opkg_response_callback(char *question)
{
char *response = NULL;
- printf(question);
+ printf("%s",question);
fflush(stdout);
do {
response = (char *)file_read_line_alloc(stdin);
free (list_file_name);
free (url);
#else
- /* XXX: Note: Signiture check for %s skipped because GPG support was not
+ /* XXX: Note: Signature check for %s skipped because GPG support was not
* enabled in this build
*/
#endif
free (tmp_file_name);
free (url);
#else
- opkg_message (conf, OPKG_NOTICE, "Signiture check for %s skipped "
+ opkg_message (conf, OPKG_NOTICE, "Signature check for %s skipped "
"because GPG support was not enabled in this build\n", src->name);
#endif
free(list_file_name);
perror (ctx->statedir);
sprintf_alloc (&cmd, "rm -rf %s", ctx->statedir);
- system (cmd);
+ err = system (cmd);
free (cmd);
free (ctx->statedir);
void pkg_print_info(pkg_t *pkg, FILE *file)
{
+ int t=0;
char * buff;
if (pkg == NULL) {
return;
if ( buff == NULL )
return;
if (strlen(buff)>2){
- fwrite(buff, 1, strlen(buff), file);
+ t = fwrite(buff, 1, strlen(buff), file); //#~rzr:TODO
}
free(buff);
}