diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-04-23 14:15:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-04-23 14:16:36 +0200 |
commit | 40813789450f4e7aa506a191a2d1360c2b077d89 (patch) | |
tree | 42208df3cd8dd5278b652ed902085ad208f1bd94 /odk | |
parent | 5b3d15241feb47e914c6835664a90c346d69411d (diff) |
Minor improvement of previous fix
Diffstat (limited to 'odk')
-rw-r--r-- | odk/source/unoapploader/unx/unoapploader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/source/unoapploader/unx/unoapploader.c b/odk/source/unoapploader/unx/unoapploader.c index 087f086cc6c9..90c1cd1493c0 100644 --- a/odk/source/unoapploader/unx/unoapploader.c +++ b/odk/source/unoapploader/unx/unoapploader.c @@ -100,7 +100,7 @@ int main( int argc, char *argv[] ) struct stat stat; int ret; - char unoinfoSuffix[] = "/unoinfo"; + static char const unoinfoSuffix[] = "/unoinfo"; char * unoinfo = malloc( pathlen + RTL_CONSTASCII_LENGTH(unoinfoSuffix) + 1); /*TODO: overflow */ |