This forum has been archived. All content is frozen. Please use KDE Discuss instead.

snprintf

Tags: None
(comma "," separated)
Nikolay
Registered Member
Posts
33
Karma
0

snprintf

Sat Oct 29, 2005 5:53 pm
The second parameter of the function snprintf is the size of the string, but this size including the trailing '\0'.

So, in the function QString SHA1Hash::toString()
the size parameter of snprintf should become 41.
George
Moderator
Posts
5421
Karma
1

Sun Oct 30, 2005 4:43 pm
You're right I'll fix it.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]