mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-17 00:34:13 +00:00
win32 build for mod_enum/libudns. Please note, this builds but still DOES NOT work on windows.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3499 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
1f8b1ee421
commit
fadc1ccebe
8 files changed
+757
-12
No files matched your search
@@ -453,7 +453,7 @@ static switch_status_t enum_lookup(char *root, char *in, enum_record_t **results
|
||||
goto done;
|
||||
}
|
||||
|
||||
dns_ptodn(name, strlen(name), query.dn, sizeof(query.dn), &abs);
|
||||
dns_ptodn(name, (unsigned int)strlen(name), query.dn, sizeof(query.dn), &abs);
|
||||
query.name = name;
|
||||
query.number = num;
|
||||
query.qtyp = l_qtyp;
|
||||
@@ -470,7 +470,14 @@ static switch_status_t enum_lookup(char *root, char *in, enum_record_t **results
|
||||
now = 0;
|
||||
|
||||
while((i = dns_timeouts(nctx, -1, now)) > 0) {
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4389 4127)
|
||||
#endif
|
||||
FD_SET(fd, &fds);
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
tv.tv_sec = i;
|
||||
tv.tv_usec = 0;
|
||||
i = select(fd+1, &fds, 0, 0, &tv);
|
||||
|
||||
Reference in new issue
Block a user