"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dbus.c" between
dnsmasq-2.81.tar.xz and dnsmasq-2.82.tar.xz

About: Dnsmasq is a lightweight caching DNS forwarder and DHCP server.

dbus.c  (dnsmasq-2.81.tar.xz):dbus.c  (dnsmasq-2.82.tar.xz)
skipping to change at line 239 skipping to change at line 239
DBusMessageIter args, args_iter; DBusMessageIter args, args_iter;
struct server *serv; struct server *serv;
DBusMessage *reply = dbus_message_new_method_return(message); DBusMessage *reply = dbus_message_new_method_return(message);
dbus_message_iter_init_append (reply, &args); dbus_message_iter_init_append (reply, &args);
dbus_message_iter_open_container (&args, DBUS_TYPE_ARRAY,DBUS_TYPE_STRING_AS_S TRING, &args_iter); dbus_message_iter_open_container (&args, DBUS_TYPE_ARRAY,DBUS_TYPE_STRING_AS_S TRING, &args_iter);
for (serv = daemon->servers; serv; serv = serv->next) for (serv = daemon->servers; serv; serv = serv->next)
if (serv->flags & SERV_LOOP) if (serv->flags & SERV_LOOP)
{ {
prettyprint_addr(&serv->addr, daemon->addrbuff); (void)prettyprint_addr(&serv->addr, daemon->addrbuff);
dbus_message_iter_append_basic (&args_iter, DBUS_TYPE_STRING, &daemon->ad drbuff); dbus_message_iter_append_basic (&args_iter, DBUS_TYPE_STRING, &daemon->ad drbuff);
} }
dbus_message_iter_close_container (&args, &args_iter); dbus_message_iter_close_container (&args, &args_iter);
return reply; return reply;
} }
#endif #endif
static DBusMessage* dbus_read_servers_ex(DBusMessage *message, int strings) static DBusMessage* dbus_read_servers_ex(DBusMessage *message, int strings)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)