File: encoding_rm_colon4.patch

package info (click to toggle)
fwknop 2.6.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,420 kB
  • sloc: ansic: 30,106; perl: 20,346; sh: 5,560; makefile: 955; xml: 937; python: 797; java: 444; objc: 292; erlang: 128
file content (13 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/fko_encode.c b/lib/fko_encode.c
index c92d421..8eb981c 100644
--- a/lib/fko_encode.c
+++ b/lib/fko_encode.c
@@ -135,7 +135,7 @@ fko_encode_spa_data(fko_ctx_t ctx)
     /* Add the message type value.
     */
     offset = strlen(tbuf);
-    sprintf(((char*)tbuf+offset), ":%i:", ctx->message_type);
+    sprintf(((char*)tbuf+offset), "%i:", ctx->message_type);
 
     /* Add the base64-encoded SPA message.
     */