IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2013, 6:12:41 AM (14 years ago)
Author:
eugene
Message:

add ohana/dvo libs and include flags to dvograbber build; fix sprintf errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/src/Dvo.c

    r34811 r34965  
    195195        argv[i] = (char*)calloc(200, sizeof(char));
    196196
    197     sprintf(argv[0], "nothing");
    198     sprintf(argv[1], "-D");
    199     sprintf(argv[2], "CATDIR");
    200     sprintf(argv[3], dvoDatabase);
     197    snprintf(argv[0], 200, "nothing");
     198    snprintf(argv[1], 200, "-D");
     199    snprintf(argv[2], 200, "CATDIR");
     200    snprintf(argv[3], 200, "%s", dvoDatabase);
    201201
    202202    this->dvoConfig = dvoConfigRead(&argc, argv);
Note: See TracChangeset for help on using the changeset viewer.