mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-18 02:16:15 +02:00
13 lines
356 B
Diff
13 lines
356 B
Diff
|
--- a/main.c
|
||
|
+++ b/main.c
|
||
|
@@ -833,7 +833,8 @@ main(int argc, char **argv, char **envp)
|
||
|
mySignal(SIGPIPE, SigPipe);
|
||
|
#endif
|
||
|
|
||
|
- orig_GC_warn_proc = GC_set_warn_proc(wrap_GC_warn_proc);
|
||
|
+ orig_GC_warn_proc = GC_get_warn_proc();
|
||
|
+ GC_set_warn_proc(wrap_GC_warn_proc);
|
||
|
err_msg = Strnew();
|
||
|
if (load_argc == 0) {
|
||
|
/* no URL specified */
|