Module: sip-router
Branch: master
Commit: 16ca5f004cf18b0a4d1d4e60398fcf32f84d5fbb
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16ca5f0…
Author: Henning Westerholt <henning.westerholt(a)1und1.de>
Committer: Henning Westerholt <henning.westerholt(a)1und1.de>
Date: Fri Jul 23 14:01:30 2010 +0200
purple(k): fix sprintf invocation, we need some printing destination here
---
modules_k/purple/purple.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/purple/purple.c b/modules_k/purple/purple.c
index 6e04aa0..528c499 100644
--- a/modules_k/purple/purple.c
+++ b/modules_k/purple/purple.c
@@ -399,7 +399,7 @@ static int func_handle_publish(struct sip_msg* msg) {
note.len = sprintf(note.s, "Idle");
}
else
- note.len = sprintf(note.s, notestr);
+ note.len = sprintf(note.s, "%s", notestr);
}
}