Commits

Roger Light committed 5cb9462

Pattern fixes.

  • Participants
  • Parent commits e1b4b8d
  • Branches 1.3

Comments (0)

Files changed (1)

 		new_topic = _mosquitto_malloc(sizeof(struct _sub_token));
 		if(!new_topic) goto cleanup;
 		new_topic->next = NULL;
-		new_topic->topic = _mosquitto_strdup("/");
+		new_topic->topic = _mosquitto_strdup("");
 		if(!new_topic->topic) goto cleanup;
 
 		*topics = new_topic;
 				if(!new_topic->topic) goto cleanup;
 				memcpy(new_topic->topic, &subtopic[start], tlen-1);
 			}else{
-				new_topic->topic = _mosquitto_strdup("/");
+				new_topic->topic = _mosquitto_strdup("");
 				if(!new_topic->topic) goto cleanup;
 			}
 			if(tail){