Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csa7fff:rusxmms
librcc
librcc-printf.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File librcc-printf.diff of Package librcc
=== modified file 'examples/example1.c' --- examples/example1.c 2009-06-12 20:19:40 +0000 +++ examples/example1.c 2010-02-14 12:12:09 +0000 @@ -49,9 +49,9 @@ if (strlen(buf)<2) break; recoded = rccRecode(NULL, 0, 1, buf); if (recoded) { - printf(recoded); + printf("%s", recoded); free(recoded); - } else printf(buf); + } else printf("%s", buf); } rccFree(); === modified file 'examples/example2.c' --- examples/example2.c 2009-06-12 20:19:40 +0000 +++ examples/example2.c 2010-02-14 11:21:15 +0000 @@ -68,7 +68,7 @@ if (rccstring) { recoded = rccTo(NULL, 1, rccstring); if (recoded) { - printf(recoded); + printf("%s", recoded); free(recoded); } else printf("Recoding from UTF-8 is failed\n"); free(rccstring);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor