Skip to content

Commit f4e0a92

Browse files
committed
Fix -Wformat-security related
1 parent 66975bb commit f4e0a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wfs/wfs_get_feature.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ static void wfs_geojson_display_results(ows * o, wfs_request * wr, mlist * reque
795795
assert(wr->callback);
796796

797797
fprintf(o->output, "Content-Type: application/javascript\n\n");
798-
fprintf(o->output, wr->callback->buf);
798+
fprintf(o->output, "%s", wr->callback->buf);
799799
fprintf(o->output, "(");
800800

801801
} else fprintf(o->output, "Content-Type: application/json\n\n");

0 commit comments

Comments
 (0)