forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
15 lines
349 B
C++
15 lines
349 B
C++
--- format.cc.orig 2004-01-12 17:32:01.000000000 +0800
|
|
+++ format.cc 2007-10-02 22:46:34.000000000 +0800
|
|
@@ -1,4 +1,5 @@
|
|
#include <stdarg.h>
|
|
+#include <sys/types.h>
|
|
|
|
#include "quirc.h"
|
|
#include "hash.h"
|
|
@@ -405,5 +406,5 @@
|
|
}
|
|
|
|
int fexists(const char *type) {
|
|
- return (int)hash_get(&formats,type);
|
|
+ return (int)*hash_get(&formats,type);
|
|
}
|