mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-30 21:53:25 +00:00
Merge remote branch 'whot/for-keith'
This commit is contained in:
commit
4ed4915bc0
28 changed files with 355 additions and 399 deletions
6
os/log.c
6
os/log.c
|
|
@ -481,8 +481,7 @@ AuditFlush(OsTimerPtr timer, CARD32 now, pointer arg)
|
|||
ErrorF("%slast message repeated %d times\n",
|
||||
prefix != NULL ? prefix : "", nrepeat);
|
||||
nrepeat = 0;
|
||||
if (prefix != NULL)
|
||||
free(prefix);
|
||||
free(prefix);
|
||||
return AUDIT_TIMEOUT;
|
||||
} else {
|
||||
/* if the timer expires without anything to print, flush the message */
|
||||
|
|
@ -515,8 +514,7 @@ VAuditF(const char *f, va_list args)
|
|||
nrepeat = 0;
|
||||
auditTimer = TimerSet(auditTimer, 0, AUDIT_TIMEOUT, AuditFlush, NULL);
|
||||
}
|
||||
if (prefix != NULL)
|
||||
free(prefix);
|
||||
free(prefix);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifdef HAVE_XORG_CONFIG_H
|
||||
#include <xorg-config.h>
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_XORG_CONFIG_H
|
||||
#include <xorg-config.h>
|
||||
#ifdef HAVE_DIX_CONFIG_H
|
||||
#include <dix-config.h>
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue