purple(k): fix sprintf invocation, we need some printing destination here
authorHenning Westerholt <henning.westerholt@1und1.de>
Fri, 23 Jul 2010 12:01:30 +0000 (14:01 +0200)
committerHenning Westerholt <henning.westerholt@1und1.de>
Fri, 23 Jul 2010 12:01:30 +0000 (14:01 +0200)
modules_k/purple/purple.c

index 6e04aa0..528c499 100644 (file)
@@ -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);
                }
        }