aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_lib.c')
-rw-r--r--src/gnunet_chat_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnunet_chat_lib.c b/src/gnunet_chat_lib.c
index 0fe9c57..114f40c 100644
--- a/src/gnunet_chat_lib.c
+++ b/src/gnunet_chat_lib.c
@@ -25,6 +25,7 @@
25#include "gnunet_chat_lib.h" 25#include "gnunet_chat_lib.h"
26 26
27#include <limits.h> 27#include <limits.h>
28#include <strings.h>
28 29
29#include "gnunet_chat_contact.h" 30#include "gnunet_chat_contact.h"
30#include "gnunet_chat_context.h" 31#include "gnunet_chat_context.h"
@@ -255,7 +256,7 @@ GNUNET_CHAT_uri_parse (const char *uri,
255 256
256 const size_t prefix_len = strlen(GNUNET_CHAT_URI_PREFIX); 257 const size_t prefix_len = strlen(GNUNET_CHAT_URI_PREFIX);
257 258
258 if (0 != strncmp(GNUNET_CHAT_URI_PREFIX, uri, prefix_len)) 259 if (0 != strncasecmp(GNUNET_CHAT_URI_PREFIX, uri, prefix_len))
259 { 260 {
260 if (emsg) 261 if (emsg)
261 *emsg = GNUNET_strdup (_ ("CHAT URI malformed (invalid prefix)")); 262 *emsg = GNUNET_strdup (_ ("CHAT URI malformed (invalid prefix)"));