version 1.28, 2015/10/06 18:30:44 |
version 1.29, 2017/06/08 18:11:15 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* |
/* |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011, 2015 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
} |
} |
|
|
dat->pos = TBL_DATA_DATA; |
dat->pos = TBL_DATA_DATA; |
|
dat->block = 1; |
|
|
if (dat->string != NULL) { |
if (dat->string != NULL) { |
sz = strlen(p + pos) + strlen(dat->string) + 2; |
sz = strlen(p + pos) + strlen(dat->string) + 2; |