paddress() instead of sprintf().
2010-07-20 Ozkan Sezer <sezeroz@gmail.com>
+ * server.c (handle_query): strcpy() the returned string from paddress()
+ instead of sprintf().
* utils.c (paddress): Return phex_nz().
2010-07-07 Joel Brobecker <brobecker@adacore.com>
if (err == 0)
{
- sprintf (own_buf, "%llx", address);
+ strcpy (own_buf, paddress(address));
return;
}
else if (err > 0)
n = (*the_target->get_tib_address) (ptid, &tlb);
if (n == 1)
{
- sprintf (own_buf, "%llx", tlb);
+ strcpy (own_buf, paddress(tlb));
return;
}
else if (n == 0)