d650824bb5
Stegdetect is an automated tool for detecting steganographic content in images. It is capable of detecting several different steganographic methods to embed hidden information in JPEG images. ok sturm@
40 lines
1012 B
Plaintext
40 lines
1012 B
Plaintext
$OpenBSD: patch-xsteg_c,v 1.1.1.1 2003/07/01 23:14:23 jolan Exp $
|
|
--- xsteg.c.orig Tue Jan 22 10:25:01 2002
|
|
+++ xsteg.c Sat Jun 28 13:17:03 2003
|
|
@@ -572,11 +572,11 @@ add_gtk_timeout()
|
|
timerclear(&tv);
|
|
tv.tv_usec = 50000;
|
|
|
|
- if (!timeout_initialized(>k_ev))
|
|
- timeout_set(>k_ev, gtk_cb, NULL);
|
|
+ if (!evtimer_initialized(>k_ev))
|
|
+ evtimer_set(>k_ev, gtk_cb, NULL);
|
|
|
|
if (!quit)
|
|
- timeout_add(>k_ev, &tv);
|
|
+ evtimer_add(>k_ev, &tv);
|
|
}
|
|
|
|
void
|
|
@@ -724,9 +724,9 @@ signal_cb(void)
|
|
|
|
/* Restart the process */
|
|
if (TAILQ_FIRST(&filelist)) {
|
|
- timeout_set(&start_ev, delayed_start, NULL);
|
|
+ evtimer_set(&start_ev, delayed_start, NULL);
|
|
timerclear(&tv);
|
|
- timeout_add(&start_ev, &tv);
|
|
+ evtimer_add(&start_ev, &tv);
|
|
}
|
|
|
|
return (0);
|
|
@@ -796,7 +796,7 @@ stegdetect_start(void)
|
|
if (dup2(pstderr[1], fileno(stderr)) == -1)
|
|
_exit(1);
|
|
|
|
- execlp("stegdetect", "stegdetect", which, sens, NULL);
|
|
+ execlp("stegdetect", "stegdetect", which, sens, (void*)NULL);
|
|
|
|
_exit(1);
|
|
}
|