~ubuntu-branches/ubuntu/trusty/htp/trusty

« back to all changes in this revision

Viewing changes to src/msg.c

  • Committer: Bazaar Package Importer
  • Author(s): Diego Escalante Urrelo
  • Date: 2007-10-21 21:59:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071021215940-90qtozny64s4f1rg
Tags: 1.16-2
* Makefile.config: Hardcode /usr as the PREFIX, it was using /usr/local
  otherwise by unknown reasons.
* src/snprintf.c:
* src/snprintf.h: Remove the asnprintf and asprintf functions since they were
keeping s390 from building and are actually not used, closes: #443616.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
#include "htp.h"
14
14
#include "option.h"
 
15
#include "snprintf.h"
15
16
 
16
17
/* symbols used to express severity of message */
17
18
const char *severitySymbol[3] =
117
118
    va_end(argptr);
118
119
 
119
120
    /* write the string to disk */
120
 
    fprintf(debugMsgFile, str);
 
121
    fprintf(debugMsgFile, "%s", str);
121
122
 
122
123
    /* flush it out to disk */
123
124
    fflush(debugMsgFile);