summaryrefslogtreecommitdiff
path: root/src/mfs_subr.c
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@pvv.ntnu.no>2008-08-18 10:32:44 +0200
committerUlf Lilleengen <lulf@pvv.ntnu.no>2008-08-18 10:32:44 +0200
commit6cd7869051529a159802409a8302fbd0d3d38195 (patch)
treef098730604814fda095578cd53da342a0a6098c3 /src/mfs_subr.c
parentb98fd3edc8708606f2bdcc8cf4c0cd46389dd14e (diff)
- Use enum instead of defines for lookup datatypes.
Diffstat (limited to 'src/mfs_subr.c')
-rw-r--r--src/mfs_subr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mfs_subr.c b/src/mfs_subr.c
index 6f4c7b6..892b595 100644
--- a/src/mfs_subr.c
+++ b/src/mfs_subr.c
@@ -497,7 +497,8 @@ mfs_escape_sqlstring(const char *str)
* be dynamically allocated, and will be free'd when mfs_lookup_finish is called!
*/
void
-mfs_lookup_insert(struct lookuphandle *lh, void *data, int type)
+mfs_lookup_insert(struct lookuphandle *lh, void *data,
+ enum lookup_datatype type)
{
char *str, *escaped;
int val;