/*
- * Copyright (c) 2010 Nicira Networks.
+ * Copyright (c) 2010 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
char *token1, *token2;
token1 = strtok_r(string, ":", &save_ptr);
token2 = strtok_r(NULL, ":", &save_ptr);
- printf ("%s %s\n", token1, token2);
+ printf ("%s %s\n", token1 ? token1 : "NULL", token2 ? token2 : "NULL");
return 0;
}