Package: udpcast
Version: 20040531-1
Severity: minor
Tags: patch
printMyIp() should use "%s" as the format string, instead of the string to be
printed.
diff -ub socklib.c.orig socklib.c
--- socklib.c.orig 2006-09-12 09:58:28.000000000 -0700
+++ socklib.c 2006-09-12 09:58:33.000000000 -0700
@@ -515,7 +515,7 @@
/* struct sockaddr_in bcastaddr;*/
getMyAddress(s, ifname, &myaddr);
- udpc_flprintf(udpc_getIpString(&myaddr,buffer));
+ udpc_flprintf("%s", udpc_getIpString(&myaddr,buffer));
}
char *udpc_getIpString(struct sockaddr *addr, char *buffer) {
f51bbbe4-80d8-48ac-a4f4-2652960397a0
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]