summaryrefslogtreecommitdiff
path: root/ext/syck/handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/syck/handler.c')
-rw-r--r--ext/syck/handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/syck/handler.c b/ext/syck/handler.c
index ca15fd0..eddc646 100644
--- a/ext/syck/handler.c
+++ b/ext/syck/handler.c
@@ -99,7 +99,7 @@ syck_hdlr_get_anchor( SyckParser *p, char *a )
if ( n->anchor )
{
S_FREE( a );
- }
+ }
else
{
n->anchor = a;
@@ -141,7 +141,7 @@ syck_taguri( char *domain, char *type_id, int type_len )
{
char *uri = S_ALLOC_N( char, strlen( domain ) + type_len + 14 );
uri[0] = '\0';
- strcat( uri, "taguri:" );
+ strcat( uri, "tag:" );
strcat( uri, domain );
strcat( uri, ":" );
strncat( uri, type_id, type_len );